Skip to content

Commit

Permalink
updated to release-utils to support rc (#8000)
Browse files Browse the repository at this point in the history
  • Loading branch information
Dedongala committed Oct 11, 2023
1 parent 4e5170d commit 6b539e8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions scripts/release-util.ts
Original file line number Diff line number Diff line change
Expand Up @@ -601,6 +601,8 @@ export async function getNpmVersion(pkg: string, registry?: string,
export function getTagFromVersion(version: string): string {
if (version.includes('dev')) {
return 'nightly';
}else if (version.includes('rc')) {
return 'next';
}
return 'latest';
}
Expand Down

0 comments on commit 6b539e8

Please sign in to comment.