diff options
author | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-11-19 18:30:06 -0200 |
---|---|---|
committer | Rafael Mendonça França <rafaelmfranca@gmail.com> | 2014-11-19 18:30:06 -0200 |
commit | 70c2bf9d21386731135b69125ef00c8810a22a1c (patch) | |
tree | f89fbae6ab1824d5a89ce3d09f387031712843a8 /tasks/release.rb | |
parent | f767ac22fa213df754e160c59189d28ed4f95568 (diff) | |
download | rails-70c2bf9d21386731135b69125ef00c8810a22a1c.tar.gz rails-70c2bf9d21386731135b69125ef00c8810a22a1c.tar.bz2 rails-70c2bf9d21386731135b69125ef00c8810a22a1c.zip |
Fix shell quote on the release task
Diffstat (limited to 'tasks/release.rb')
-rw-r--r-- | tasks/release.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tasks/release.rb b/tasks/release.rb index de05dfad99..729e0761ad 100644 --- a/tasks/release.rb +++ b/tasks/release.rb @@ -102,7 +102,7 @@ namespace :all do abort "[ABORTING] `git status` reports a dirty tree. Make sure all changes are committed" end - unless ENV['SKIP_TAG'] || `git tag | grep '^#{tag}$`.strip.empty? + unless ENV['SKIP_TAG'] || `git tag | grep '^#{tag}$'`.strip.empty? abort "[ABORTING] `git tag` shows that #{tag} already exists. Has this version already\n"\ " been released? Git tagging can be skipped by setting SKIP_TAG=1" end |