Skip to content

Commit

Permalink
Fix rake bump_dev_version to update Gemfile.lock files too
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Nov 11, 2024
1 parent 432434b commit 6230906
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions rakelib/version.rake
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,11 @@ end
task :bump_dev_version do
bump_dev_version_rb("lib/ruby_wasm/version.rb")
bump_dev_version_rb("packages/gems/js/lib/js/version.rb")

# Update Gemfile.lock
NPM_PACKAGES.each do |pkg|
next unless pkg[:gemfile]
vendor_gem_cache(pkg)
sh "BUNDLE_GEMFILE=#{pkg[:gemfile]} bundle install"
end
end

0 comments on commit 6230906

Please sign in to comment.