Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Changelog date #541

Merged
merged 2 commits into from
Aug 29, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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})`)
)