Commit 4ac264d
fix: zlib parallel build race + Kotlin SNAPSHOT version in release
Two follow-up fixes discovered while validating the v0.19.10 draft release.
1. sdk/runanywhere-web/wasm/scripts/build.sh — cap --parallel at 2
During release.yml native_web, zlib static-lib linking intermittently
raced with llvm-ranlib: two parallel link steps wrote libz.a and another
job tried to ranlib it before the writer had finished, causing "unable
to load 'libz.a': No such file or directory". First hit on the v0.19.10
release run; a rerun succeeded. Capping to 2 workers (we only have 2
cores on standard GH runners) eliminates the race without meaningfully
impacting build time.
2. .github/workflows/release.yml — pass SDK_VERSION env to sdk_kotlin
The v0.19.10 release's JVM JAR was named RunAnywhereKotlinSDK-jvm-
0.1.5-SNAPSHOT.jar instead of using the release version. build.gradle.kts
reads SDK_VERSION from env, falling back to "0.1.5-SNAPSHOT" if unset.
The release workflow wasn't setting it. Now forwards the validated
release version into the gradle invocation.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 12f3198 commit 4ac264d
2 files changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
293 | 293 | | |
294 | 294 | | |
295 | 295 | | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
296 | 299 | | |
| 300 | + | |
| 301 | + | |
297 | 302 | | |
298 | 303 | | |
299 | 304 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
161 | 161 | | |
162 | 162 | | |
163 | 163 | | |
164 | | - | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
| 168 | + | |
165 | 169 | | |
166 | 170 | | |
167 | 171 | | |
| |||
0 commit comments