Unverified Commit 0812317f authored by Sebastian "Sebbie" Silbermann's avatar Sebastian "Sebbie" Silbermann Committed by GitHub

[ci] Stop running explicit build when creating release (#87212)

parent 812c26ab
...@@ -104,8 +104,6 @@ jobs: ...@@ -104,8 +104,6 @@ jobs:
- run: pnpm install - run: pnpm install
- run: pnpm run build
- run: node ./scripts/start-release.js --release-type ${{ github.event.inputs.releaseType || 'canary' }} --semver-type ${{ github.event.inputs.semverType }} - run: node ./scripts/start-release.js --release-type ${{ github.event.inputs.releaseType || 'canary' }} --semver-type ${{ github.event.inputs.semverType }}
env: env:
RELEASE_BOT_GITHUB_TOKEN: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }} RELEASE_BOT_GITHUB_TOKEN: ${{ secrets.RELEASE_BOT_GITHUB_TOKEN }}
...@@ -90,7 +90,7 @@ ...@@ -90,7 +90,7 @@
"debug": "cross-env NEXT_PRIVATE_LOCAL_DEV=1 NEXT_TELEMETRY_DISABLED=1 node --inspect --trace-deprecation --enable-source-maps packages/next/dist/bin/next", "debug": "cross-env NEXT_PRIVATE_LOCAL_DEV=1 NEXT_TELEMETRY_DISABLED=1 node --inspect --trace-deprecation --enable-source-maps packages/next/dist/bin/next",
"debug-brk": "cross-env NEXT_PRIVATE_LOCAL_DEV=1 NEXT_TELEMETRY_DISABLED=1 node --inspect-brk --trace-deprecation --enable-source-maps packages/next/dist/bin/next", "debug-brk": "cross-env NEXT_PRIVATE_LOCAL_DEV=1 NEXT_TELEMETRY_DISABLED=1 node --inspect-brk --trace-deprecation --enable-source-maps packages/next/dist/bin/next",
"postinstall": "node scripts/git-configure.mjs && node scripts/install-native.mjs", "postinstall": "node scripts/git-configure.mjs && node scripts/install-native.mjs",
"version": "pnpm install --no-frozen-lockfile && IS_PUBLISH=yes ./scripts/check-pre-compiled.sh && git add .", "version": "pnpm install --no-frozen-lockfile && git add .",
"prepare": "husky", "prepare": "husky",
"sync-react": "node ./scripts/sync-react.js", "sync-react": "node ./scripts/sync-react.js",
"update-google-fonts": "node ./scripts/update-google-fonts.js", "update-google-fonts": "node ./scripts/update-google-fonts.js",
......
...@@ -16,7 +16,7 @@ cd ../../ ...@@ -16,7 +16,7 @@ cd ../../
# Make sure to exit with 1 if there are changes after running ncc-compiled # Make sure to exit with 1 if there are changes after running ncc-compiled
# step to ensure we get any changes committed # step to ensure we get any changes committed
if [[ ! -z $(git status -s) ]] && [[ -z $IS_PUBLISH ]];then if [[ ! -z $(git status -s) ]];then
echo "Detected changes" echo "Detected changes"
git diff -a --stat git diff -a --stat
exit 1 exit 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment