mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Fix destructuring error in Verify Release is on NPM step
Summary: Found this issue while releasing 0.79.0-rc.0 (see [job](https://github.com/facebook/react-native/actions/runs/13649159968/job/38156418752)). bypass-github-export-checks ``` SyntaxError: Invalid destructuring assignment target at new AsyncFunction (<anonymous>) at callAsyncFunction (/__w/_actions/actions/github-script/v6/dist/index.js:15143:16) at main (/__w/_actions/actions/github-script/v6/dist/index.js:15236:26) at /__w/_actions/actions/github-script/v6/dist/index.js:15217:1 at /__w/_actions/actions/github-script/v6/dist/index.js:15268:3 at Object.<anonymous> (/__w/_actions/actions/github-script/v6/dist/index.js:15271:12) at Module._compile (node:internal/modules/cjs/loader:1469:14) at Module._extensions..js (node:internal/modules/cjs/loader:1548:10) at Module.load (node:internal/modules/cjs/loader:1288:32) at Module._load (node:internal/modules/cjs/loader:1104:12) ``` ## Changelog: [Internal] - Reviewed By: cipolleschi Differential Revision: D70552301 fbshipit-source-id: b50e3d76c7497cc218e379400d5870531669abe1
This commit is contained in:
committed by
React Native Bot
parent
f238aecca1
commit
eb02343f95
@@ -226,6 +226,6 @@ jobs:
|
||||
github-token: ${{ secrets.REACT_NATIVE_BOT_GITHUB_TOKEN }}
|
||||
script: |
|
||||
const {verifyReleaseOnNpm} = require('./.github/workflow-scripts/verifyReleaseOnNpm.js');
|
||||
const {isLatest()} = require('./.github/workflow-scripts/publishTemplate.js');
|
||||
const {isLatest} = require('./.github/workflow-scripts/publishTemplate.js');
|
||||
const version = "${{ github.ref_name }}";
|
||||
await verifyReleaseOnNpm(version, isLatest());
|
||||
|
||||
Reference in New Issue
Block a user