mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-12-28 21:33:24 +03: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
@ -27,7 +27,7 @@ class Changelog {
|
||||
}
|
||||
|
||||
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) => {
|
||||
|
Loading…
Reference in New Issue
Block a user