Skip to content
Browse files

Fixed a bug in the release task

It would have thought that the tag v1.0.0 already existed when there was a tag with the prefix v1.0.0
  • Loading branch information...
1 parent 3de0d69 commit 5f61b5fc6e1f75f843e0a54c6ad3ebe7a563ea4c @iconara committed Mar 30, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 Rakefile
2 Rakefile
@@ -13,7 +13,7 @@ task :release => :spec do
project_name = 'cql-rb'
version_string = "v#{Cql::VERSION}"
- unless %x(git tag -l).include?(version_string)
+ unless %x(git tag -l).split("\n").include?(version_string)
system %(git tag -a #{version_string} -m #{version_string})

0 comments on commit 5f61b5f

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