Skip to content

Commit d23f24b

Browse files
authored
Fix extra lockfiles again & update release script to handle that automatically (#77)
1 parent acf8367 commit d23f24b

File tree

3 files changed

+4
-3
lines changed

3 files changed

+4
-3
lines changed

bin/release

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ VERSION=$1
44

55
printf "module Importmap\n VERSION = \"$VERSION\"\nend\n" > ./lib/importmap/version.rb
66
bundle
7-
git add Gemfile.lock lib/importmap/version.rb
7+
for gemfile in $(ls gemfiles/*.gemfile); do BUNDLE_GEMFILE="$gemfile" bundle; done
8+
git add Gemfile.lock gemfiles/*.lock lib/importmap/version.rb
89
git commit -m "Bump version for $VERSION"
910
git push
1011
git tag v$VERSION

gemfiles/rails_7_propshaft.gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ GIT
8686
PATH
8787
remote: ..
8888
specs:
89-
importmap-rails (0.9.0)
89+
importmap-rails (0.9.1)
9090
rails (>= 6.0.0)
9191

9292
GEM

gemfiles/rails_7_sprockets.gemfile.lock

+1-1
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ GIT
8686
PATH
8787
remote: ..
8888
specs:
89-
importmap-rails (0.9.0)
89+
importmap-rails (0.9.1)
9090
rails (>= 6.0.0)
9191

9292
GEM

0 commit comments

Comments
 (0)