Skip to content

Commit

Permalink
Fix rake bump_version task for vendor/cache hack
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Nov 11, 2024
1 parent fc3d6fa commit b1dbae5
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion rakelib/version.rake
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,11 @@ task :bump_version, %i[version] do |t, args|
# Update ./package-lock.json
sh "npm install"
# Update Gemfile.lock
sh "BUNDLE_GEMFILE=packages/npm-packages/ruby-wasm-wasi/Gemfile bundle install"
NPM_PACKAGES.each do |pkg|
next unless pkg[:gemfile]
vendor_gem_cache(pkg)
sh "BUNDLE_GEMFILE=#{pkg[:gemfile]} bundle install"
end
end

def bump_dev_version_rb(version_rb)
Expand Down

0 comments on commit b1dbae5

Please sign in to comment.