mirror of
https://github.com/facebook/react.git
synced 2025-11-01 09:12:30 +00:00
Release script: allow preparing RC from npm
This commit is contained in:
@@ -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}`
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user