mirror of
https://github.com/vuejs/vue-cli.git
synced 2026-03-13 12:40:18 -05:00
workflow: allow manually specifying dist-tag when releasing
This commit is contained in:
@@ -95,7 +95,7 @@ const release = async () => {
|
||||
}
|
||||
}
|
||||
|
||||
let distTag = 'latest'
|
||||
let distTag = cliOptions['dist-tag'] || 'latest'
|
||||
if (bump === 'prerelease' || semver.prerelease(version)) {
|
||||
distTag = 'next'
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user