diff --git a/src/release.ts b/src/release.ts index 6b96f78..a3f4f58 100644 --- a/src/release.ts +++ b/src/release.ts @@ -47,9 +47,7 @@ export async function publish({ preRelease, checkRemoteVersion, npmTag }: Publis if (preRelease) { args.push('--tag', 'alpha') - } - - if (npmTag) { + } else if (npmTag) { args.push('--tag', npmTag) }