Skip to content

Commit eb02343

Browse files
fabriziocuccireact-native-bot
authored andcommitted
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
1 parent f238aec commit eb02343

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/publish-release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -226,6 +226,6 @@ jobs:
226226
github-token: ${{ secrets.REACT_NATIVE_BOT_GITHUB_TOKEN }}
227227
script: |
228228
const {verifyReleaseOnNpm} = require('./.github/workflow-scripts/verifyReleaseOnNpm.js');
229-
const {isLatest()} = require('./.github/workflow-scripts/publishTemplate.js');
229+
const {isLatest} = require('./.github/workflow-scripts/publishTemplate.js');
230230
const version = "${{ github.ref_name }}";
231231
await verifyReleaseOnNpm(version, isLatest());

0 commit comments

Comments
 (0)