Skip to content

Commit 077753c

Browse files
committed
Select most recent tag to use as gem version.
1 parent f2f50c5 commit 077753c

2 files changed

Lines changed: 9 additions & 9 deletions

File tree

Gemfile.lock

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
freeagent-cli (0.1)
4+
freeagent-cli (0.2)
55
dotenv (> 2.1.2)
66
oauth2 (~> 2)
77
thor (~> 1.3)
@@ -13,18 +13,18 @@ GEM
1313
base64 (0.2.0)
1414
bigdecimal (3.1.9)
1515
dotenv (3.1.8)
16-
faraday (2.12.2)
16+
faraday (2.13.1)
1717
faraday-net_http (>= 2.0, < 3.5)
1818
json
1919
logger
2020
faraday-net_http (3.4.0)
2121
net-http (>= 0.5.0)
2222
hashie (5.0.0)
23-
json (2.10.1)
23+
json (2.11.3)
2424
jwt (2.10.1)
2525
base64
26-
logger (1.6.6)
27-
multi_xml (0.7.1)
26+
logger (1.7.0)
27+
multi_xml (0.7.2)
2828
bigdecimal (~> 3.1)
2929
net-http (0.6.0)
3030
uri
@@ -35,14 +35,14 @@ GEM
3535
rack (>= 1.2, < 4)
3636
snaky_hash (~> 2.0)
3737
version_gem (~> 1.1)
38-
rack (3.1.10)
38+
rack (3.1.13)
3939
rake (13.2.1)
4040
snaky_hash (2.0.1)
4141
hashie
4242
version_gem (~> 1.1, >= 1.1.1)
4343
thor (1.3.2)
44-
uri (1.0.2)
45-
version_gem (1.1.4)
44+
uri (1.0.3)
45+
version_gem (1.1.7)
4646
webrick (1.9.1)
4747

4848
PLATFORMS

freeagent-cli.gemspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Gem::Specification.new do |spec|
1717
spec.email = git.call(:log, format: '%ae').uniq
1818

1919
version_tag = 'v?.*'
20-
nearest = git.call(:tag, '--list', version_tag).first
20+
nearest = git.call(:tag, '--list', version_tag, sort: 'version:refname').last
2121
spec.version = nearest[1..]
2222

2323
readme = File.read('README.txt').split("\n")

0 commit comments

Comments
 (0)