summaryrefslogtreecommitdiff
path: root/coderay.gemspec
diff options
context:
space:
mode:
authorKornelius Kalnbach <murphy@rubychan.de>2012-10-07 03:14:23 +0200
committerKornelius Kalnbach <murphy@rubychan.de>2012-10-07 03:14:23 +0200
commit308fd388b4646ff77263f05634547c6f3cc3e895 (patch)
treeff3e2ebd1dbd81d6770dd187c4a09537274d1057 /coderay.gemspec
parentb081c1f3ab670301199005c04ecbc11614593285 (diff)
parent8c8f5a6b64211e1480edbab1eeb9f7bb76d60ecc (diff)
downloadcoderay-308fd388b4646ff77263f05634547c6f3cc3e895.tar.gz
Merge branch 'master' into lua-scanner
Diffstat (limited to 'coderay.gemspec')
-rw-r--r--coderay.gemspec5
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']