Skip to content

Commit d0f60f8

Browse files
committed
chore(tasks): Fix changelog task
1 parent 1f5571d commit d0f60f8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tasks/changelog.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ module.exports = function(grunt) {
1313
grunt.fail.fatal('Invalid release type: ' + releaseType);
1414
}
1515

16-
const repoUrl = pkg.repository.url.slice(0, -4); // Slice off '.git'
16+
const repoUrl = pkg.repository.replace('github:', 'https://github.com/');
1717
const getCommitLog =
1818
`git --no-pager log v${curVersion}... --reverse --pretty=format:"+ %s ([\`%h\`](${repoUrl}/commit/%H))"`;
1919
const commitLog = execSync(getCommitLog).toString();

0 commit comments

Comments
 (0)