Skip to content

Commit

Permalink
Use clogs for generating changelogs
Browse files Browse the repository at this point in the history
This replaces the hacky Ruby changelog script with a proper solution
using https://github.com/yorickpeterse/clogs.

See #598 for more information.
  • Loading branch information
yorickpeterse committed Nov 9, 2023
1 parent 30f186b commit b3f73c5
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 67 deletions.
2 changes: 0 additions & 2 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@
Entries from before version 0.10.0 are no longer included, but can be viewed
[here](https://github.com/inko-lang/inko/blob/f9c01b86af70596021e649be5d43ec2a22b6d298/CHANGELOG.md).

<!-- new section -->

## 0.13.1 (2023-10-14)

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ release/manifest: ${TMP_DIR}
--distribution-id ${RELEASES_CLOUDFRONT_ID} --paths "/*"

release/changelog:
ruby scripts/changelog.rb "${VERSION}"
clogs "${VERSION}"

release/versions:
ruby scripts/update_versions.rb ${VERSION}
Expand Down
6 changes: 0 additions & 6 deletions changelog.yml

This file was deleted.

11 changes: 11 additions & 0 deletions clogs.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
{
"url": "https://github.com/inko-lang/inko/commit/%s",
"changelog": "CHANGELOG.md",
"categories": {
"added": "Added",
"fixed": "Fixed",
"changed": "Changed",
"performance": "Performance improvements",
"other": "Other"
}
}
58 changes: 0 additions & 58 deletions scripts/changelog.rb

This file was deleted.

0 comments on commit b3f73c5

Please sign in to comment.