Skip to content

Commit 17b72bf

Browse files
committed
Version bump
1 parent 74d44db commit 17b72bf

File tree

3 files changed

+10
-3
lines changed

3 files changed

+10
-3
lines changed

CHANGELOG.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## [Unreleased]
99

10+
## [2.2.0] - 2022-09-01
11+
1012
### Changed
1113

1214
- Allow more section types into prerelease versions. #67
1315

16+
### Fixed
17+
18+
- Change the links' syntax to make them correctly recognized by GitHub.
19+
1420
## [2.1.1] - 2022-07-03
1521

1622
### Fixed
@@ -108,7 +114,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
108114

109115
- CHANGELOG can be parsed by the github action
110116

111-
[unreleased]: https://github.com/olivierlacan/keep-a-changelog/compare/v2.1.1...HEAD
117+
[unreleased]: https://github.com/olivierlacan/keep-a-changelog/compare/v2.2.0...HEAD
118+
[2.2.0]: https://github.com/mindsers/changelog-reader-action/compare/v2.1.1...v2.2.0
112119
[2.1.1]: https://github.com/mindsers/changelog-reader-action/compare/v2.1.0...v2.1.1
113120
[2.1.0]: https://github.com/mindsers/changelog-reader-action/compare/v2.0.0...v2.1.0
114121
[2.0.0]: https://github.com/mindsers/changelog-reader-action/compare/v1.3.1...v2.0.0

dist/index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -506,7 +506,7 @@ exports.addLinks = links => entry => {
506506
let results = null
507507
while ((results = linkRegex.exec(text)) != null) {
508508
const link = links.find(element => element.includes(results[1]))
509-
tempText = `${tempText}\n${link}`
509+
tempText = `${tempText}\n\n${link}`
510510
}
511511

512512
return { ...entry, text: tempText.trim() }

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "changelog-reader-action",
3-
"version": "2.1.1",
3+
"version": "2.2.0",
44
"description": "A GitHub Action to read your CHANGELOG",
55
"main": "index.js",
66
"homepage": "https://github.com/mindsers/changelog-reader-action#readme",

0 commit comments

Comments
 (0)