We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1f5571d commit d0f60f8Copy full SHA for d0f60f8
tasks/changelog.js
@@ -13,7 +13,7 @@ module.exports = function(grunt) {
13
grunt.fail.fatal('Invalid release type: ' + releaseType);
14
}
15
16
- const repoUrl = pkg.repository.url.slice(0, -4); // Slice off '.git'
+ const repoUrl = pkg.repository.replace('github:', 'https://github.com/');
17
const getCommitLog =
18
`git --no-pager log v${curVersion}... --reverse --pretty=format:"+ %s ([\`%h\`](${repoUrl}/commit/%H))"`;
19
const commitLog = execSync(getCommitLog).toString();
0 commit comments