Skip to content

Commit 32931b1

Browse files
committed
[LOCAL] better fix for param
1 parent ea9dd43 commit 32931b1

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.circleci/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1445,7 +1445,7 @@ jobs:
14451445
echo "machine github.com login react-native-bot password $GITHUB_TOKEN" > ~/.netrc
14461446
# END: Stables and nightlies
14471447

1448-
- run: node ./scripts/publish-npm.js
1448+
- run: node ./scripts/publish-npm.js --<< parameters.release_type >>
14491449
- run:
14501450
name: Zip Hermes Native Symbols
14511451
command: zip -r /tmp/hermes-native-symbols.zip ~/react-native/ReactAndroid/hermes-engine/build/intermediates/cmake/

scripts/publish-npm.js

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,11 @@ const argv = yargs
6565
type: 'boolean',
6666
default: false,
6767
})
68+
.option('r', {
69+
alias: 'release', // useless but needed for CI
70+
type: 'boolean',
71+
default: false,
72+
})
6873
.strict().argv;
6974
const nightlyBuild = argv.nightly;
7075
const dryRunBuild = argv.dryRun;

0 commit comments

Comments
 (0)