Skip to content

Commit

Permalink
[LOCAL] Fix prettier and Flow
Browse files Browse the repository at this point in the history
  • Loading branch information
cipolleschi committed May 1, 2024
1 parent 8813061 commit bb890a3
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
2 changes: 1 addition & 1 deletion scripts/npm-utils.js
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ function publishPackage(
packageOptions /*: NpmPackageOptions */,
execOptions /*: ?ExecOptsSync */,
) /*: ShellString */ {
const {otp, tags, access} = packageOptions;
const {otp, tags} = packageOptions;

let tagsFlag = '';
if (tags != null) {
Expand Down
9 changes: 8 additions & 1 deletion scripts/releases-local/trigger-react-native-release.js
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,14 @@ async function main() {
latest = setLatest;
}

const npmTag = latest ? 'latest' : !prerelease ? branch : patch == 0 ? 'next' : '--no-tag';
const npmTag = latest
? 'latest'
: !prerelease
? branch
: patch === '0'
? 'next'
: '--no-tag';

const {confirmRelease} = await inquirer.prompt({
type: 'confirm',
name: 'confirmRelease',
Expand Down

0 comments on commit bb890a3

Please sign in to comment.