Skip to content

Commit

Permalink
Merge pull request #541 from changelog-date
Browse files Browse the repository at this point in the history
  • Loading branch information
release-train[bot] committed Aug 29, 2019
2 parents 8c50a98 + 4a19395 commit 7f24101
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 7 deletions.
12 changes: 6 additions & 6 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
[@thakkaryash94]: https://github.com/thakkaryash94
[@hajimehoshi]: https://github.com/hajimehoshi


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

### Internals

Expand All @@ -23,7 +23,7 @@
[#538]: https://github.com/bemusic/bemuse/pull/538
[#539]: https://github.com/bemusic/bemuse/pull/539

## v44.2.4
## v44.2.4 (2019-08-29)

### Internals

Expand All @@ -33,7 +33,7 @@

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

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

### New stuff

Expand All @@ -60,7 +60,7 @@
[#533]: https://github.com/bemusic/bemuse/pull/533
[#534]: https://github.com/bemusic/bemuse/pull/534

## v44
## v44 (2019-08-27)

This release contains no new features, just a lot of codebase modernizations.

Expand Down Expand Up @@ -105,7 +105,7 @@ This release contains no new features, just a lot of codebase modernizations.
[#525]: https://github.com/bemusic/bemuse/pull/525
[#524]: https://github.com/bemusic/bemuse/pull/524

## v43
## v43 (2018-11-11)

This release contains multiple contributions from the community! Many thanks to
everyone who helped contributing to this release.
Expand Down Expand Up @@ -153,7 +153,7 @@ from our contributors.
[#510]: https://github.com/bemusic/bemuse/pull/510
[#511]: https://github.com/bemusic/bemuse/pull/511

## v42
## v42 (2018-08-08)

This update took a really long time as I (dtinth) was busy with other things in
life. Also, this release contains many internal changes to the code
Expand Down
6 changes: 5 additions & 1 deletion bin/strip-changelog-pre-version-postfix
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
#!/usr/bin/env node
const fs = require('fs')
const data = fs.readFileSync('CHANGELOG.md', 'utf8')
fs.writeFileSync('CHANGELOG.md', data.replace(/(## v[\d.]+)-pre\.\d+/g, ''))
const date = new Date().toJSON().split('T')[0]
fs.writeFileSync(
'CHANGELOG.md',
data.replace(/(## v[\d.]+)-pre\.\d+/g, `$1 (${date})`)
)

0 comments on commit 7f24101

Please sign in to comment.