Skip to content

Commit b1dbae5

Browse files
Fix rake bump_version task for vendor/cache hack
1 parent fc3d6fa commit b1dbae5

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

rakelib/version.rake

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,11 @@ task :bump_version, %i[version] do |t, args|
3636
# Update ./package-lock.json
3737
sh "npm install"
3838
# Update Gemfile.lock
39-
sh "BUNDLE_GEMFILE=packages/npm-packages/ruby-wasm-wasi/Gemfile bundle install"
39+
NPM_PACKAGES.each do |pkg|
40+
next unless pkg[:gemfile]
41+
vendor_gem_cache(pkg)
42+
sh "BUNDLE_GEMFILE=#{pkg[:gemfile]} bundle install"
43+
end
4044
end
4145

4246
def bump_dev_version_rb(version_rb)

0 commit comments

Comments
 (0)