We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 07e126e commit a198860Copy full SHA for a198860
ruby2_keywords.gemspec
@@ -1,4 +1,4 @@
1
-version = "0.0.1"
+version = IO.popen(%W[git -C #{__dir__} describe --tags --match v[0-9]*], &:read)[/\Av?(\d+(?:\.\d+)*)/, 1]
2
3
Gem::Specification.new do |s|
4
s.name = "ruby2_keywords"
0 commit comments