We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 2a4d75f commit cffb19fCopy full SHA for cffb19f
scripts/release.ts
@@ -173,12 +173,16 @@ const releaseOptions: SemanticRelease.Options = (() => {
173
})();
174
175
const generateGhaSummary = (nextRelease: SemanticRelease.NextRelease) => {
176
+ const repoUrl = (releaseOptions.repositoryUrl as string)
177
+ .replace(/^git\+/, '')
178
+ .replace(/.git$/, '');
179
+
180
const content = `## 🚀 Release Report
181
- Type: ${nextRelease.type}
182
- Version: ${nextRelease.version}
183
- Tag: ${nextRelease.gitTag}
184
-See this release at this [link](${releaseOptions.repositoryUrl}/releases/tag/${nextRelease.gitTag}).
185
+See this release at this [link](${repoUrl}/releases/tag/${nextRelease.gitTag}).
186
187
## 📝 Generated Notes
188
${nextRelease.notes}`;
0 commit comments