@autorelease/auto-single-package
Advanced tools
Comparing version 0.0.18-next.14 to 0.0.18-next.15
@@ -31,3 +31,2 @@ /* eslint-disable import/no-extraneous-dependencies */ | ||
auto.hooks.next.tapPromise(this.name, async (_, bump, { commits }) => { | ||
@@ -40,4 +39,2 @@ const headLabels = commits[0] ? commits[0].labels : []; | ||
console.log(bump === SEMVER.patch, headLabels.includes(CHERRY_PICK_LABEL)) | ||
if (bump === SEMVER.patch && headLabels.includes(CHERRY_PICK_LABEL)) { | ||
@@ -53,3 +50,3 @@ const branch = await getCurrentBranch(); | ||
auto.logger.log.info("Cherry picking the commit..."); | ||
await execPromise("git", ["cherry-pick", commitToCherryPick]); | ||
await execPromise("git", ["cherry-pick", "-m", commitToCherryPick]); | ||
auto.logger.log.info("Pushing the new commit..."); | ||
@@ -60,3 +57,3 @@ await execPromise("git", ["push", auto.remote, auto.baseBranch]); | ||
auto.logger.log.success('Updated master with bug-fix!'); | ||
auto.logger.log.success("Updated master with bug-fix!"); | ||
} else { | ||
@@ -63,0 +60,0 @@ auto.logger.log.info( |
{ | ||
"name": "@autorelease/auto-single-package", | ||
"version": "0.0.18-next.14", | ||
"version": "0.0.18-next.15", | ||
"author": "Andrew Lisowski <lisowski54@gmail.com>", | ||
@@ -5,0 +5,0 @@ "license": "MIT", |
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
10409
52