Skip to content

Commit bb77c6b

Browse files
gaearonkoto
authored andcommitted
Release script: allow preparing RC from npm
1 parent c44993a commit bb77c6b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release/publish-commands/validate-tags.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ const run = async ({cwd, packages, tags}) => {
4545
process.exit(1);
4646
}
4747
} else {
48-
if (!tags.includes('latest')) {
48+
if (version.indexOf('-') === -1 && !tags.includes('latest')) {
4949
console.log(
5050
theme`{error Stable release} {version ${version}} {error must always be tagged as} {tag latest}`
5151
);

0 commit comments

Comments
 (0)