Skip to content

Commit eedee61

Browse files
authored
Merge pull request #144 from maxmind/wstorey/release-script
Update Gemfile.lock during release
2 parents fcc1df3 + ca6c1e8 commit eedee61

File tree

5 files changed

+13
-0
lines changed

5 files changed

+13
-0
lines changed

.github/workflows/release.yml

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

3333
- run: bundle install
34+
env:
35+
BUNDLE_FROZEN: true
3436

3537
# zizmor complains that 'v1' is a ref that can be provided by both the branch and tag namespaces.
3638
# 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 test

Gemfile.lock

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ GEM
88
specs:
99
ast (2.4.3)
1010
json (2.18.0)
11+
json (2.18.0-java)
1112
language_server-protocol (3.17.0.5)
1213
lint_roller (1.1.0)
1314
minitest (6.0.1)
@@ -18,6 +19,7 @@ GEM
1819
racc
1920
prism (1.7.0)
2021
racc (1.8.1)
22+
racc (1.8.1-java)
2123
rainbow (3.1.1)
2224
rake (13.3.1)
2325
regexp_parser (2.11.3)
@@ -56,6 +58,7 @@ GEM
5658
unicode-emoji (4.2.0)
5759

5860
PLATFORMS
61+
java
5962
ruby
6063
x86_64-linux
6164

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/(?<=s.version\s{,20}=\s{,20}\').+?(?=\')/$version/g" maxmind-db.gemspec
8687

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

8993
rake

0 commit comments

Comments
 (0)