summaryrefslogtreecommitdiff
path: root/task
diff options
context:
space:
mode:
authorDavid Rodríguez <deivid.rodriguez@riseup.net>2019-09-15 12:04:06 +0200
committerDavid Rodríguez <deivid.rodriguez@riseup.net>2019-09-15 12:04:06 +0200
commit77b6699eb950e948403a2c19525f4d0d5c67a0c6 (patch)
tree8236a22954ccbb4e1682d1358158db8b52f0583e /task
parent89b120310fa853ef7980fa7d78a2c61ae3acf9d6 (diff)
downloadbundler-77b6699eb950e948403a2c19525f4d0d5c67a0c6.tar.gz
Fallback to `release:github` task when no version specified
Diffstat (limited to 'task')
-rw-r--r--task/release.rake2
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",