Permalink
Browse files

cleaning up RC release script

  • Loading branch information...
korny committed Oct 7, 2012
1 parent f3dcecb commit 8c8f5a6b64211e1480edbab1eeb9f7bb76d60ecc
Showing with 1 addition and 4 deletions.
  1. +1 −4 coderay.gemspec
View
@@ -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']

0 comments on commit 8c8f5a6

Please sign in to comment.