Skip to content

Commit dc5c9c5

Browse files
author
Lasim
committed
fix: use proper URL template variables for commit links in changelog
- Replace {{commitUrlFormat}} with {{host}}/{{owner}}/{{repository}}/commit/{{hash}} - Ensures commit URLs are properly generated in changelog entries - Apply fix to both backend and frontend configurations
1 parent 4daad29 commit dc5c9c5

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

services/backend/.release-it.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module.exports = {
4444

4545
return newCommit;
4646
},
47-
"commitPartial": "* {{subject}} ([{{shortHash}}]({{commitUrlFormat}}))"
47+
"commitPartial": "* {{subject}} ([{{shortHash}}]({{host}}/{{owner}}/{{repository}}/commit/{{hash}}))"
4848
}
4949
}
5050
}

services/frontend/.release-it.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ module.exports = {
4646

4747
return newCommit;
4848
},
49-
"commitPartial": "* {{subject}} ([{{shortHash}}]({{commitUrlFormat}}))"
49+
"commitPartial": "* {{subject}} ([{{shortHash}}]({{host}}/{{owner}}/{{repository}}/commit/{{hash}}))"
5050
}
5151
}
5252
}

0 commit comments

Comments
 (0)