Skip to content

Commit a198860

Browse files
committed
Achieve version numbers from tags
1 parent 07e126e commit a198860

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ruby2_keywords.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
version = "0.0.1"
1+
version = IO.popen(%W[git -C #{__dir__} describe --tags --match v[0-9]*], &:read)[/\Av?(\d+(?:\.\d+)*)/, 1]
22

33
Gem::Specification.new do |s|
44
s.name = "ruby2_keywords"

0 commit comments

Comments
 (0)