Skip to content

Commit

Permalink
Merge pull request #570 from fix-changelog-trailing-zeros
Browse files Browse the repository at this point in the history
  • Loading branch information
release-train[bot] committed Sep 29, 2019
2 parents ea1f6d2 + 0c10fa1 commit 5230f76
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
14 changes: 7 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
[@hajimehoshi]: https://github.com/hajimehoshi
[@nekokan]: https://github.com/Nekokan

## v46.0.0 (2019-09-12)
## v46 (2019-09-12)

### New stuff

Expand All @@ -36,7 +36,7 @@
[#553]: https://github.com/bemusic/bemuse/pull/553
[#554]: https://github.com/bemusic/bemuse/pull/554

## v45.1.0 (2019-09-02)
## v45.1 (2019-09-02)

### Internals

Expand All @@ -45,7 +45,7 @@

[#549]: https://github.com/bemusic/bemuse/pull/549

## v45.0.0 (2019-08-31)
## v45 (2019-08-31)

### New stuff

Expand All @@ -67,7 +67,7 @@
[#546]: https://github.com/bemusic/bemuse/pull/546
[#547]: https://github.com/bemusic/bemuse/pull/547

## v44.5.0 (2019-08-30)
## v44.5 (2019-08-30)

### Internals

Expand All @@ -78,7 +78,7 @@

[#544]: https://github.com/bemusic/bemuse/pull/544

## v44.4.0 (2019-08-29)
## v44.4 (2019-08-29)

### New stuff

Expand All @@ -92,7 +92,7 @@
[#541]: https://github.com/bemusic/bemuse/pull/541
[#542]: https://github.com/bemusic/bemuse/pull/542

## v44.3.0 (2019-08-29)
## v44.3 (2019-08-29)

### Internals

Expand All @@ -116,7 +116,7 @@

[#536]: https://github.com/bemusic/bemuse/pull/536

## v44.1.0 (2019-08-29)
## v44.1 (2019-08-29)

### New stuff

Expand Down
2 changes: 1 addition & 1 deletion bin/strip-changelog-pre-version-postfix
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ const data = fs.readFileSync('CHANGELOG.md', 'utf8')
const date = new Date().toJSON().split('T')[0]
fs.writeFileSync(
'CHANGELOG.md',
data.replace(/(## v[\d.]+)-pre\.\d+/g, `$1 (${date})`)
data.replace(/(## v[\d.]+?)(?:\.0)?(?:\.0)?-pre\.\d+/g, `$1 (${date})`)
)

0 comments on commit 5230f76

Please sign in to comment.