diff --git a/scripts/release/publish-commands/validate-tags.js b/scripts/release/publish-commands/validate-tags.js index 92a593d96b..329826b891 100644 --- a/scripts/release/publish-commands/validate-tags.js +++ b/scripts/release/publish-commands/validate-tags.js @@ -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}` );