We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3d81d63 commit 01d0586Copy full SHA for 01d0586
.github/workflows/build.yml
@@ -390,6 +390,19 @@ jobs:
390
exit 1
391
fi
392
393
+ - name: Ensure mozjs version is bumped if mozjs-sys version bumped
394
+ if: ${{ github.event_name == 'pull_request' && steps.changes.outputs.needs_mozjs_sys_bump == 'true' }}
395
+ run: |
396
+ CHANGED=$(git diff origin/main -- mozjs/Cargo.toml | grep '^+\s*version\s*=' || true)
397
+ if [ -n "$CHANGED" ]; then
398
+ echo "✅ mozjs version bumped: $CHANGED"
399
+ exit 0
400
+ else
401
+ echo "❌ No mozjs version bump found."
402
+ echo "Please bump mozjs version to trigger publishing a new crates.io release on landing."
403
+ exit 1
404
+ fi
405
+
406
publish-release:
407
name: Check version and publish release
408
runs-on: ubuntu-latest
0 commit comments