@lerna/collect-updates
Advanced tools
Comparing version 3.3.0 to 3.3.2
@@ -6,2 +6,15 @@ # Change Log | ||
<a name="3.3.2"></a> | ||
## [3.3.2](https://github.com/lerna/lerna/compare/v3.3.1...v3.3.2) (2018-09-12) | ||
### Bug Fixes | ||
* **publish:** Allow `--force-publish` in a canary release ([b97d9a3](https://github.com/lerna/lerna/commit/b97d9a3)), closes [#1638](https://github.com/lerna/lerna/issues/1638) | ||
* **version:** Allow `--force-publish` to work on tagged releases ([7971bf3](https://github.com/lerna/lerna/commit/7971bf3)), closes [#1667](https://github.com/lerna/lerna/issues/1667) [#1671](https://github.com/lerna/lerna/issues/1671) | ||
<a name="3.3.0"></a> | ||
@@ -8,0 +21,0 @@ # [3.3.0](https://github.com/lerna/lerna/compare/v3.2.1...v3.3.0) (2018-09-06) |
@@ -14,2 +14,3 @@ "use strict"; | ||
function collectUpdates(filteredPackages, packageGraph, execOpts, commandOptions) { | ||
const forced = getForcedPackages(commandOptions.forcePublish); | ||
const packages = | ||
@@ -27,3 +28,3 @@ filteredPackages.length === packageGraph.size | ||
if (refCount === "0") { | ||
if (refCount === "0" && forced.size === 0) { | ||
// no commits since previous release | ||
@@ -47,3 +48,7 @@ log.notice("", "Current HEAD is already released, skipping change detection."); | ||
const forced = getForcedPackages(commandOptions.forcePublish); | ||
if (forced.size) { | ||
// "warn" might seem a bit loud, but it is appropriate for logging anything _forced_ | ||
log.warn("force-publish", forced.has("*") ? "all packages" : Array.from(forced.values()).join("\n")); | ||
} | ||
let candidates; | ||
@@ -50,0 +55,0 @@ |
{ | ||
"name": "@lerna/collect-updates", | ||
"version": "3.3.0", | ||
"version": "3.3.2", | ||
"description": "An internal Lerna tool", | ||
@@ -40,3 +40,3 @@ "keywords": [ | ||
}, | ||
"gitHead": "901e6d54a47151dfed3d6ed2912804b97d05c6b5" | ||
"gitHead": "96e1c0086244da05af5602e56cbd790662b0b40a" | ||
} |
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
14278
164