Skip to content

Commit

Permalink
Release script: allow preparing RC from npm
Browse files Browse the repository at this point in the history
  • Loading branch information
gaearon authored and koto committed Jun 15, 2021
1 parent c44993a commit bb77c6b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/release/publish-commands/validate-tags.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ const run = async ({cwd, packages, tags}) => {
process.exit(1);
}
} else {
if (!tags.includes('latest')) {
if (version.indexOf('-') === -1 && !tags.includes('latest')) {
console.log(
theme`{error Stable release} {version ${version}} {error must always be tagged as} {tag latest}`
);
Expand Down

0 comments on commit bb77c6b

Please sign in to comment.