Skip to content

Commit

Permalink
fix: fix tag order
Browse files Browse the repository at this point in the history
  • Loading branch information
haoziqaq committed Feb 19, 2024
1 parent 0fbfeda commit 661cfcc
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/release.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

Expand Down

0 comments on commit 661cfcc

Please sign in to comment.