hg-auto-semver
Advanced tools
Comparing version 1.1.1 to 1.1.2
@@ -21,7 +21,9 @@ #!/usr/bin/env node | ||
function publish(version) { | ||
console.log(process.env.HG_USR, process.env.HG_PWD, process.env.NPM_TOKEN); | ||
execSync(`hg commit --config ui.username=jenkins@coveo.com -m 'Release v${version}'`); | ||
execSync(`hg tag --config ui.username=jenkins@coveo.com ${PACKAGE_VERSION} -f`); | ||
execSync(`hg tag --config ui.username=jenkins@coveo.com ${version} -f`); | ||
execSync(`echo 'strict-ssl=false' > .npmrc`); | ||
execSync(`echo '//npm.corp.coveo.com/:_authToken=${env.NPM_TOKEN}' >> .npmrc`); | ||
execSync(`echo '//npm.corp.coveo.com/:_authToken=${process.env.NPM_TOKEN}' >> .npmrc`); | ||
execSync(`echo '@coveo:registry=https://npm.corp.coveo.com/' >> .npmrc`); | ||
@@ -28,0 +30,0 @@ |
{ | ||
"name": "hg-auto-semver", | ||
"version": "1.1.1", | ||
"version": "1.1.2", | ||
"description": "Automatically bump versions according to hg parent branch name.", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
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
Environment variable access
Supply chain riskPackage accesses environment variables, which may be a sign of credential stuffing or data theft.
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
4371
45
6