Skip to content

Commit

Permalink
[LOCAL] better fix for param
Browse files Browse the repository at this point in the history
  • Loading branch information
kelset committed Nov 4, 2022
1 parent ea9dd43 commit 32931b1
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1445,7 +1445,7 @@ jobs:
echo "machine github.com login react-native-bot password $GITHUB_TOKEN" > ~/.netrc
# END: Stables and nightlies

- run: node ./scripts/publish-npm.js
- run: node ./scripts/publish-npm.js --<< parameters.release_type >>
- run:
name: Zip Hermes Native Symbols
command: zip -r /tmp/hermes-native-symbols.zip ~/react-native/ReactAndroid/hermes-engine/build/intermediates/cmake/
Expand Down
5 changes: 5 additions & 0 deletions scripts/publish-npm.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,11 @@ const argv = yargs
type: 'boolean',
default: false,
})
.option('r', {
alias: 'release', // useless but needed for CI
type: 'boolean',
default: false,
})
.strict().argv;
const nightlyBuild = argv.nightly;
const dryRunBuild = argv.dryRun;
Expand Down

0 comments on commit 32931b1

Please sign in to comment.