mirror of
https://github.com/TryGhost/Ghost.git
synced 2025-02-17 23:44:39 -05:00
Removed pull request numbers from commit messages
refs https://github.com/TryGhost/Toolbox/issues/276 - this removes the PR numbers from commit messages that we prepate for the changelog - removing it prevents us needing to fix the path to the PR if the commit was done in a different repo
This commit is contained in:
parent
74ff5d48de
commit
40b1ad25ca
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ class Changelog {
|
||||||
}
|
}
|
||||||
|
|
||||||
const commands = [
|
const commands = [
|
||||||
`git log --no-merges --pretty=tformat:'%at * [%h](${options.githubRepoPath}/commit/%h) %s - %an' ${options.lastVersion}.. ${sign} ${this.changelogPath}`
|
`git log --no-merges --pretty=tformat:'%at * [%h](${options.githubRepoPath}/commit/%h) %s - %an' ${options.lastVersion}.. | sed 's/(#[0-9]{1,})//g' ${sign} ${this.changelogPath}`
|
||||||
];
|
];
|
||||||
|
|
||||||
_.each(commands, (command) => {
|
_.each(commands, (command) => {
|
||||||
|
|
Loading…
Add table
Reference in a new issue