Skip to content
Browse files

Match the whole string

  • Loading branch information...
1 parent eaa19cc commit d153355d35954e0e553d4b1b34db10a0ea7fa6a4 @rafaelfranca rafaelfranca committed Mar 14, 2014
Showing with 1 addition and 1 deletion.
  1. +1 −1 tasks/release.rb
2 tasks/release.rb
@@ -102,7 +102,7 @@
abort "[ABORTING] `git status` reports a dirty tree. Make sure all changes are committed"
- 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"

0 comments on commit d153355

Please sign in to comment.
Something went wrong with that request. Please try again.