diff options
author | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2020-03-13 19:57:56 +0300 |
---|---|---|
committer | Zeger-Jan van de Weg <git@zjvandeweg.nl> | 2020-03-13 19:57:56 +0300 |
commit | b69d499982199c6c685d58501917f61582837610 (patch) | |
tree | bdb17ddf1ec0e720963d4bdfafd3f09d30982ca0 | |
parent | 65afbb65c1aad1bd082f3e896519da36eef4ec52 (diff) | |
parent | 8f8033f11ec343a2314644479134d33852955044 (diff) |
Merge branch 'jc-fix-gem-release' into 'master'
Fix prerelease gem name
See merge request gitlab-org/gitaly!1916
-rwxr-xr-x | _support/publish-gem | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_support/publish-gem b/_support/publish-gem index b2256814f..f0a1b138e 100755 --- a/_support/publish-gem +++ b/_support/publish-gem @@ -20,8 +20,8 @@ def main(tag) puts 'Testing for staged changes' run!(%w[git diff --quiet --cached --exit-code]) - run!(%w[gem build gitaly.gemspec]) gem = "gitaly-#{version}.gem" + run!(['gem', 'build', 'gitaly.gemspec', '--output', gem]) abort "gem not found: #{gem}" unless File.exist?(gem) puts "Proceed to publish version #{tag}? Enter 'Yes' to continue; Ctrl-C to abort" |