Comparing version 0.1.1 to 0.1.2
@@ -221,2 +221,10 @@ const path = require('path'); | ||
const isPrerelease = !!semver.prerelease(nextVersion); | ||
const tag = npmTag || isPrerelease ? 'next' : 'latest'; | ||
PromptUtilities.confirm( | ||
`Are you sure you want to publish version: ` + | ||
`${chalk.bold(`${nextVersion}@${tag}`)}?`, | ||
); | ||
await ConsoleUtilities.step( | ||
@@ -239,5 +247,2 @@ 'Tagging and committing version bump', | ||
async () => { | ||
const tag = | ||
npmTag || semver.prerelease(nextVersion) ? 'next' : 'latest'; | ||
const args = ['publish']; | ||
@@ -263,2 +268,4 @@ if (publishDir) { | ||
} | ||
console.log(`🎉 Done! \n\nhttps://npm.im/${pkg.name}`); | ||
} catch (err) { | ||
@@ -265,0 +272,0 @@ /* ignore */ |
{ | ||
"name": "@4c/cli", | ||
"version": "0.1.1", | ||
"version": "0.1.2", | ||
"main": "index.js", | ||
@@ -5,0 +5,0 @@ "repository": "https://github.com/4Catalyzer/init.git", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
111625
543