diff options
author | Kornelius Kalnbach <murphy@rubychan.de> | 2012-10-07 03:13:54 +0200 |
---|---|---|
committer | Kornelius Kalnbach <murphy@rubychan.de> | 2012-10-07 03:13:54 +0200 |
commit | 8c8f5a6b64211e1480edbab1eeb9f7bb76d60ecc (patch) | |
tree | 42a76f139bc934567757a1834ef08f636b8b4d66 | |
parent | f3dcecb9b875a816aa10b3e24aee25aa7347fd58 (diff) | |
download | coderay-8c8f5a6b64211e1480edbab1eeb9f7bb76d60ecc.tar.gz |
cleaning up RC release scriptv1.0.8.rc1
-rw-r--r-- | coderay.gemspec | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/coderay.gemspec b/coderay.gemspec index 1f88318..e686035 100644 --- a/coderay.gemspec +++ b/coderay.gemspec @@ -8,10 +8,7 @@ Gem::Specification.new do |s| if ENV['RELEASE'] s.version = CodeRay::VERSION else - # thanks to @Argorak for this solution - # revision = 134 + (`git log --oneline | wc -l`.to_i) - # s.version = "#{CodeRay::VERSION}.#{revision}rc1" - s.version = "#{CodeRay::VERSION}.rc2" + s.version = "#{CodeRay::VERSION}.rc#{ENV['RC'] || 1}" end s.authors = ['Kornelius Kalnbach'] |