Skip to content

Commit 8e161ea

Browse files
committed
v3.3.1
1 parent 1a9ecc7 commit 8e161ea

File tree

4 files changed

+11
-5
lines changed

4 files changed

+11
-5
lines changed

.changelog/01.txt

Lines changed: 0 additions & 2 deletions
This file was deleted.

CHANGELOG.md

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,12 @@
11
# heeler
22

3+
## 3.3.1
4+
5+
- fix: Fix parentheses in pull request links 1a9ecc7 ([#13](https://github.com/single-spa/heeler/pull/13)) by Jolyn
6+
37
## 3.3.0
48

5-
- feature: Add link to pull requests 7a38d7b ([(#12)](<https://github.com/single-spa/heeler/pull/(12)>)) by Jolyn
9+
- feature: Add link to pull requests 7a38d7b ([(#12)](https://github.com/single-spa/heeler/pull/12)) by Jolyn
610

711
## 3.2.0
812

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "heeler",
3-
"version": "3.3.0",
3+
"version": "3.3.1",
44
"type": "module",
55
"description": "Changelog pre-commit",
66
"bin": {

src/changelog-utils.js

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,11 @@ export async function prepareRelease() {
8484
let prStr;
8585
if (prMatch) {
8686
if (packageJson.repository) {
87-
prStr = ` ([${prMatch[1].replace("(", "").replace(")", "")}](${packageJson.repository}/pull/${prMatch[1].replace("#", "")}))`;
87+
const prNumber = prMatch[1]
88+
.replace("(", "")
89+
.replace(")", "")
90+
.replace("#", "");
91+
prStr = ` ([#${prNumber}](${packageJson.repository}/pull/${prNumber}))`;
8892
} else {
8993
prStr = ` ${prMatch[1]}`;
9094
}

0 commit comments

Comments
 (0)