Skip to content

Commit ae460f8

Browse files
authored
Merge pull request #189 from maxmind/wstorey/release-script
Update Gemfile.lock during release
2 parents cc6e274 + e3938a4 commit ae460f8

5 files changed

Lines changed: 15 additions & 0 deletions

File tree

.github/workflows/release.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ jobs:
3030
ruby-version: ruby
3131

3232
- run: bundle install
33+
env:
34+
BUNDLE_FROZEN: true
3335

3436
# zizmor complains that 'v1' is a ref that can be provided by both the branch and tag namespaces.
3537
# specify that we want the v1 branch.

.github/workflows/rubocop.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -23,4 +23,6 @@ jobs:
2323
ruby-version: 3.4
2424

2525
- run: bundle install
26+
env:
27+
BUNDLE_FROZEN: true
2628
- run: bundle exec rake -t rubocop

.github/workflows/test.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,4 +38,6 @@ jobs:
3838
ruby-version: ${{ matrix.version }}
3939

4040
- run: bundle install
41+
env:
42+
BUNDLE_FROZEN: true
4143
- run: bundle exec rake -t spec

Gemfile.lock

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ GEM
1414
public_suffix (>= 2.0.2, < 8.0)
1515
ast (2.4.3)
1616
bigdecimal (3.3.1)
17+
bigdecimal (3.3.1-java)
1718
connection_pool (3.0.2)
1819
crack (1.0.1)
1920
bigdecimal
@@ -26,6 +27,7 @@ GEM
2627
ffi (1.17.2-arm-linux-gnu)
2728
ffi (1.17.2-arm-linux-musl)
2829
ffi (1.17.2-arm64-darwin)
30+
ffi (1.17.2-java)
2931
ffi (1.17.2-x86-linux-gnu)
3032
ffi (1.17.2-x86-linux-musl)
3133
ffi (1.17.2-x86_64-darwin)
@@ -44,6 +46,7 @@ GEM
4446
domain_name (~> 0.5)
4547
http-form_data (2.3.0)
4648
json (2.18.0)
49+
json (2.18.0-java)
4750
language_server-protocol (3.17.0.5)
4851
lint_roller (1.1.0)
4952
llhttp-ffi (0.5.1)
@@ -61,6 +64,7 @@ GEM
6164
prism (1.8.0)
6265
public_suffix (7.0.0)
6366
racc (1.8.1)
67+
racc (1.8.1-java)
6468
rainbow (3.1.1)
6569
rake (13.3.1)
6670
regexp_parser (2.11.3)
@@ -122,6 +126,7 @@ PLATFORMS
122126
arm-linux-gnu
123127
arm-linux-musl
124128
arm64-darwin
129+
java
125130
ruby
126131
x86-linux-gnu
127132
x86-linux-musl

dev-bin/release.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ fi
3232

3333
check_command perl
3434
check_command rake
35+
check_command bundle
3536

3637
# Check that we're not on the main branch
3738
current_branch=$(git branch --show-current)
@@ -84,6 +85,9 @@ fi
8485

8586
perl -pi -e "s/(?<=VERSION = \').+?(?=\')/$version/g" lib/minfraud/version.rb
8687

88+
# Update version in Gemfile.lock.
89+
bundle install
90+
8791
echo $"Test results:"
8892

8993
rake

0 commit comments

Comments
 (0)