Skip to content

Commit c872282

Browse files
Fix rake ci:pin_build_manifest
1 parent f45d018 commit c872282

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

CONTRIBUTING.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -138,7 +138,7 @@ $ npm install --save @ruby/wasm-wasi@2.7.2-2025-10-03-a
138138
When a new version of Ruby is released, the following steps need to be taken to add support for it in ruby.wasm:
139139

140140
1. Update `lib/ruby_wasm/cli.rb`:
141-
- Add a new entry in the `build_source_aliases` method for the new version
141+
- Add a new entry in the `build_config_aliases` method for the new version
142142
- Specify the tarball URL and required default extensions
143143

144144
2. Update `Rakefile`:

rakelib/ci.rake

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
def latest_build_sources
22
BUILD_SOURCES
33
.filter_map do |name|
4-
src = RubyWasm::CLI.build_source_aliases(LIB_ROOT)[name]
4+
config = RubyWasm::CLI.build_config_aliases(LIB_ROOT)[name]
5+
src = config[:src]
56
case src[:type]
67
when "github"
78
url = "repos/#{src[:repo]}/commits/#{src[:rev]}"
@@ -23,7 +24,8 @@ def release_note
2324
EOS
2425

2526
BUILD_SOURCES.each do |name|
26-
source = RubyWasm::CLI.build_source_aliases(LIB_ROOT)[name]
27+
config = RubyWasm::CLI.build_config_aliases(LIB_ROOT)[name]
28+
source = config[:src]
2729
case source[:type]
2830
when "github"
2931
output +=

0 commit comments

Comments
 (0)