Koichi ITO
82d35ed02b
Add update-cruby and update-jruby scripts
...
This PR adds update-cruby and update-jruby scripts.
They are provided to update MRI and JRuby definition files.
These scripts are based on script/update-truffleruby.
https://github.com/rbenv/ruby-build/blob/v20200224/script/update-truffleruby
2020-03-11 11:33:36 +09:00
Hiroshi SHIBATA
89040ddf3f
Added rbx-4.*
2020-03-08 10:14:15 +09:00
Benoit Daloze
aabb2624af
Make sure hub is configured before going further in the release script
2020-02-14 15:10:06 +01:00
Benoit Daloze
ec80803660
Fix error message for unrecognized operating system
2019-12-23 16:43:52 +01:00
Benoit Daloze
47074b9174
Use openssl from Homebrew for TruffleRuby on macOS
...
* The openssl built by ruby-build was not used by TruffleRuby,
and causes https://github.com/oracle/truffleruby/issues/1818
* Improve error message when openssl from Homebrew is not available.
* Change the definition code so it checks the operating system too.
2019-11-21 16:41:12 +01:00
Benoit Daloze
a2031524f9
Use OpenSSL 1.1.1d like other Rubies for new TruffleRuby releases
2019-11-20 17:57:44 +01:00
Mislav Marohnić
f3435a5257
Update release script
...
- Tweak release notes in editor before submitting
- Create annotated git tag
- Publish GitHub release by default instead of draft
- Remove Homebrew publish steps - now handled by Actions
2019-10-24 00:01:46 +02:00
Kevin Menard
aca16ff84b
Add TruffleRuby 19.0.0
2019-05-09 16:37:09 -04:00
Benoit Daloze
a0b37e8084
Adapt update script to avoid downloading again and reuse release files
2019-04-20 01:50:07 +09:00
Benoit Daloze
c8bd70ad97
Add script to generate a definition for TruffleRuby
2019-01-15 17:17:00 +01:00
SHIBATA Hiroshi
60a170698a
Added generate script for rbx definitions used postmodern/ruby-versions.
2018-06-19 20:33:38 +09:00
Yuichiro NAITO
4014c048cc
Fix to wrap bash by /usr/bin/env
2016-12-21 10:51:08 +09:00
Mislav Marohnić
073762c128
Further simplify script/brew-publish
2016-09-16 13:00:46 +02:00
SHIBATA Hiroshi
231a3f023b
remove hub checking because it's embedded in bump-formula-pr
2016-09-16 12:53:51 +09:00
SHIBATA Hiroshi
1dd68e1f08
replace official tool named bump-formula-pr
2016-09-16 12:53:08 +09:00
Mislav Marohnić
5297dbc4b0
script/release: automatically populate GitHub release with changelog
...
[ci skip]
2016-02-28 13:02:42 +09:00
Jason Karns
c9a6cdb3b1
Ensure current branch pushes to matching on remote
...
`git push <remote> HEAD` is documented to push current branch to
same-named branch on the remote
2016-01-18 21:59:42 -05:00
Mislav Marohnić
1491d71efa
Handle unshallowed Homebrew checkout as well
...
[ci skip]
2015-12-25 12:07:37 +01:00
Mislav Marohnić
9343b99451
Handle case when Homebrew checkout is shallow
...
Using hub to fork Homebrew and push a branch we've just created to this
fork will be rejected by GitHub because the push is coming from a
shallow repository. Ensure that Homebrew is unshallowed before that.
[ci skip]
2015-12-16 16:41:40 +01:00
Jason Karns
d5de31f490
TRAVIS_COMMIT_RANGE is correct now
...
According to https://github.com/travis-ci/travis-ci/issues/1719 (closed by https://github.com/travis-ci/travis-core/pull/383 ), the behavior of $TRAVIS_COMMIT_RANGE should be correct now. We should be able to use it directly.
2015-11-04 11:05:41 -05:00
Mislav Marohnić
a5d0479af7
Update brew-publish to be sha256-aware
2015-05-19 21:33:47 +02:00
Mislav Marohnić
fc5e392a54
Set Travis-specific PATH in travis.yml
2015-02-27 02:16:46 +13:00
Mislav Marohnić
d7b881d20e
Fix script/test
in a non-Travis environment
...
`script/test` will now only attempt to call `script/mirror` if either
TRAVIS_PULL_REQUEST or TRAVIS_COMMIT_RANGE is set.
2014-11-16 17:17:35 -08:00
Mislav Marohnić
de155dd12b
Fix brew-publish
command
...
[ci skip]
2014-10-28 20:46:24 +01:00
Mislav Marohnić
b14f8c0536
Fill in TRAVIS_COMMIT_RANGE if missing
...
Workaround for travis-ci/travis-ci#1719
2014-09-09 23:24:14 -07:00
Mislav Marohnić
aaf50ec655
Fix brew-publish
script that's part of release process
...
[ci skip]
2014-09-08 15:49:25 -07:00
Mislav Marohnić
95b32accd6
Improve script/mirror
argument handling
...
Now supports `-h|--help`.
2014-09-08 09:15:52 -07:00
Mislav Marohnić
3add5c4637
Verify checksums for pull requests from other people
...
This has the CI step verify the checksums for URLs that might have been
added or edited to build definitions in a pull request.
2014-09-08 09:14:43 -07:00
Mislav Marohnić
e2ae87877b
Add release
script
...
The script handles bumping up the version number, committing, tagging
and updating the Homebrew formula. The last step requires `hub` to be
installed in order to submit a pull request to Homebrew.
/cc @sferik @hsbt
[ci skip]
2014-05-26 23:34:26 +07:00
Thomas Johansen
fb5e2b1ae6
Replace MD5 commands with SHA2 equivalents
...
A more secure hashing algorithm makes it less feasible to serve up a
modified tarball that matches the same checksum.
See the discussion in #548
2014-05-23 14:34:37 +07:00
Adam Harvey
2e6e100a2e
Prefer ggrep for grep invocations that use GNU extensions.
2014-04-18 10:51:26 +10:00
Mislav Marohnić
4ed38ba4bc
Run mirror update
on CI even if tests failed
...
If a commit introduced a new Ruby definition, we want it mirrored even
if there might have been an accidental failure on CI.
2013-10-28 02:25:08 +01:00
Mislav Marohnić
e8a3cc82e3
Avoid processing duplicate URLs in mirror script
2013-10-28 02:24:18 +01:00
Mislav Marohnić
08b3f2c8d3
Fix detecting changed definitions in mirror script
...
Grep mustn't get invoked with 0 parameters, otherwise it will hang
waiting on stdin.
2013-10-24 17:57:52 +02:00
Mislav Marohnić
4817d20938
Keep mirror up-to-date using Travis CI
...
When new Ruby definitions get added, our current CloudFront mirror may
get out of date. This adds a task to the CI process that detects
added/changed package URLs and uploads them to our S3 bucket.
Fixes #392 , references #395
2013-10-24 17:44:41 +02:00