Skip to content

Commit

Permalink
chore: publish does not care about from being for prerelease
Browse files Browse the repository at this point in the history
  • Loading branch information
runspired committed Feb 23, 2024
1 parent 2db98ef commit a86ccb6
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions release/utils/flags-config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -194,10 +194,6 @@ export const publish_flags_config: FlagConfig = {
if (semver.valid(value) === null) {
throw new Error(`Version passed to promote is not a valid semver version`);
}
const versionInfo = semver.parse(value);
if (versionInfo?.prerelease?.length) {
throw new Error(`Version passed to promote cannot be prerelease version`);
}
},
},
upstream: {
Expand Down

0 comments on commit a86ccb6

Please sign in to comment.