@codastic/release
Advanced tools
Comparing version 1.5.0 to 1.6.0
@@ -128,3 +128,12 @@ #!/usr/bin/env node | ||
return pullRequests.filter(({ commit }) => !commitExists[commit]); | ||
// Search for any matching prefix length of the commit hash | ||
// because git does not guarantee to always have 7 digit abbreviated commit hashes. | ||
return pullRequests.filter(({ commit }) => { | ||
for (let length = 1; length <= commit.length; length += 1) { | ||
if (commitExists[commit.substr(0, length)]) { | ||
return false; | ||
} | ||
} | ||
return true; | ||
}); | ||
} | ||
@@ -131,0 +140,0 @@ |
### v1.6.0 / 2019-05-22 14:33:00 | ||
- Support varying length of abbreviated commit hashes in update changelog (i: Mario Volke, r: Jonathan Häberle, c: 566115c) | ||
### v1.5.0 / 2018-11-30 07:44:53 | ||
@@ -3,0 +7,0 @@ |
{ | ||
"name": "@codastic/release", | ||
"version": "1.5.0", | ||
"version": "1.6.0", | ||
"description": "A collection of release and changelog management script you can easily use via NPM.", | ||
@@ -5,0 +5,0 @@ "scripts": { |
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
70519
539