Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit 5f61b5fc6e1f75f843e0a54c6ad3ebe7a563ea4c 1 parent 3de0d69
@iconara authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  Rakefile
View
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})
end
Please sign in to comment.
Something went wrong with that request. Please try again.