Repository: buildr Updated Branches: refs/heads/master a80ece18d -> 349d8bc89
Use to_s on version value to ensure it is converted to a string in all versions of ruby Project: http://git-wip-us.apache.org/repos/asf/buildr/repo Commit: http://git-wip-us.apache.org/repos/asf/buildr/commit/088385a4 Tree: http://git-wip-us.apache.org/repos/asf/buildr/tree/088385a4 Diff: http://git-wip-us.apache.org/repos/asf/buildr/diff/088385a4 Branch: refs/heads/master Commit: 088385a40fd521efd1bcc90eaab89cb67135af03 Parents: a80ece1 Author: Peter Donald <[email protected]> Authored: Wed May 28 07:21:38 2014 +1000 Committer: Peter Donald <[email protected]> Committed: Wed May 28 07:21:38 2014 +1000 ---------------------------------------------------------------------- rakelib/release.rake | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/buildr/blob/088385a4/rakelib/release.rake ---------------------------------------------------------------------- diff --git a/rakelib/release.rake b/rakelib/release.rake index 3347e92..fbcb60c 100644 --- a/rakelib/release.rake +++ b/rakelib/release.rake @@ -86,7 +86,7 @@ task 'release' => %w{setup-local-site-svn} do lambda do version = `git describe --tags --always`.strip unless version == spec.version - sh 'git', 'tag', '-m', "'Release #{spec.version}'", spec.version do |ok, res| + sh 'git', 'tag', '-m', "'Release #{spec.version}'", spec.version.to_s do |ok, res| if ok puts "[X] Tagged this release as #{spec.version} ... " else
