Skip to content

Commit 8c8f5a6

Browse files
committed
cleaning up RC release script
1 parent f3dcecb commit 8c8f5a6

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

coderay.gemspec

+1-4
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,7 @@ Gem::Specification.new do |s|
88
if ENV['RELEASE']
99
s.version = CodeRay::VERSION
1010
else
11-
# thanks to @Argorak for this solution
12-
# revision = 134 + (`git log --oneline | wc -l`.to_i)
13-
# s.version = "#{CodeRay::VERSION}.#{revision}rc1"
14-
s.version = "#{CodeRay::VERSION}.rc2"
11+
s.version = "#{CodeRay::VERSION}.rc#{ENV['RC'] || 1}"
1512
end
1613

1714
s.authors = ['Kornelius Kalnbach']

0 commit comments

Comments
 (0)