@auto-canary/core
Advanced tools
Comparing version 8.1.0-canary.792.10440.0 to 8.1.0-canary.794.10457.0
@@ -26,3 +26,6 @@ "use strict"; | ||
}); | ||
test('should not skip things before none', () => { | ||
expect(semver_1.calculateSemVerBump([['none'], ['major']], semverMap)).toBe(semver_1.default.major); | ||
}); | ||
}); | ||
//# sourceMappingURL=semver.test.js.map |
@@ -47,6 +47,6 @@ "use strict"; | ||
} | ||
// If the pr has only 1 `none` release label, skip the release | ||
if (labels.length > 0 && | ||
labels[0].length === 1 && | ||
noReleaseLabels.includes(labels[0][0])) { | ||
// If PRs only have none or skip labels, skip the release | ||
const onlyNoReleaseLabels = [...labelSet].reduce((condition, label) => condition && | ||
(noReleaseLabels.includes(label) || skipReleaseLabels.includes(label)), true); | ||
if (labelSet.size > 0 && onlyNoReleaseLabels) { | ||
return SEMVER.noVersion; | ||
@@ -53,0 +53,0 @@ } |
{ | ||
"name": "@auto-canary/core", | ||
"version": "8.1.0-canary.792.10440.0", | ||
"version": "8.1.0-canary.794.10457.0", | ||
"description": "Node API for using auto.", | ||
@@ -78,3 +78,3 @@ "main": "dist/auto.js", | ||
}, | ||
"gitHead": "bd56b748c47f6f11874f8a9c9de5495ddcb513f9" | ||
"gitHead": "1e81e1f7f250e83e6c220e13d7ef17865aba651f" | ||
} |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
583324
136
7305