@codastic/release
Advanced tools
Comparing version 1.4.0 to 1.4.1
@@ -44,3 +44,3 @@ #!/usr/bin/env node | ||
'--merges ' + | ||
'--pretty=\'format:__pr-start__%n%h%n%an%n%b%n__pr-end__\' ' + | ||
'--pretty=\'format:__pr-start__%n%h%n%an%n%s%n%b%n__pr-end__\' ' + | ||
'-500'; | ||
@@ -70,4 +70,5 @@ | ||
const reviewer = group.shift(); | ||
const subject = group.shift(); | ||
const approvedBy = /^Approved-by:\s([^<]+)\s<([^>]+)>$/; | ||
const message = group | ||
let message = group | ||
.filter(l => !approvedBy.test(l)) | ||
@@ -78,2 +79,8 @@ .join() | ||
// Visual Studio Team Services do not guarantee to provide the PR title within the body | ||
const matches = /Merged PR \d+: (.*)/.exec(subject); | ||
if (matches) { | ||
message = matches[1]; | ||
} | ||
pullRequests.push({ | ||
@@ -80,0 +87,0 @@ commit, |
### v1.4.1 / 2018-05-23 10:02:19 | ||
- Fix missing title in changelog when using VisualStudio Team Services (i: Mario Volke, r: Jonathan Häberle, c: a84e1e8) | ||
### v1.4.0 / 2018-05-22 11:41:29 | ||
@@ -3,0 +7,0 @@ |
{ | ||
"name": "@codastic/release", | ||
"version": "1.4.0", | ||
"version": "1.4.1", | ||
"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
69992
534