We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f2f50c5 commit 9154f87Copy full SHA for 9154f87
1 file changed
freeagent-cli.gemspec
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
17
spec.email = git.call(:log, format: '%ae').uniq
18
19
version_tag = 'v?.*'
20
- nearest = git.call(:tag, '--list', version_tag).first
+ nearest = git.call(:tag, '--list', version_tag, sort: 'version:refname').last
21
spec.version = nearest[1..]
22
23
readme = File.read('README.txt').split("\n")
0 commit comments