We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3dcecb commit 8c8f5a6Copy full SHA for 8c8f5a6
coderay.gemspec
@@ -8,10 +8,7 @@ Gem::Specification.new do |s|
8
if ENV['RELEASE']
9
s.version = CodeRay::VERSION
10
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"
+ s.version = "#{CodeRay::VERSION}.rc#{ENV['RC'] || 1}"
15
end
16
17
s.authors = ['Kornelius Kalnbach']
0 commit comments