diff options
author | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-09-15 12:04:06 +0200 |
---|---|---|
committer | David RodrÃguez <deivid.rodriguez@riseup.net> | 2019-09-15 12:04:06 +0200 |
commit | 77b6699eb950e948403a2c19525f4d0d5c67a0c6 (patch) | |
tree | 8236a22954ccbb4e1682d1358158db8b52f0583e /task | |
parent | 89b120310fa853ef7980fa7d78a2c61ae3acf9d6 (diff) | |
download | bundler-77b6699eb950e948403a2c19525f4d0d5c67a0c6.tar.gz |
Fallback to `release:github` task when no version specified
Diffstat (limited to 'task')
-rw-r--r-- | task/release.rake | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/task/release.rake b/task/release.rake index be0241bffb..cd66ff755d 100644 --- a/task/release.rake +++ b/task/release.rake @@ -131,7 +131,7 @@ namespace :release do desc "Push the release to Github releases" task :github, :version do |_t, args| - version = Gem::Version.new(args.version) + version = Gem::Version.new(args.version || bundler_spec.version) tag = "v#{version}" gh_api_post :path => "/repos/bundler/bundler/releases", |