Skip to content

Commit

Permalink
ci(release): add release config
Browse files Browse the repository at this point in the history
Prettier release sections.

Signed-off-by: Jonas Dujava <[email protected]>
  • Loading branch information
jdujava committed Sep 25, 2024
1 parent 850a037 commit ee708ac
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 4 deletions.
3 changes: 3 additions & 0 deletions .github/.release-please-manifest.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
".": "0.2.1"
}
13 changes: 13 additions & 0 deletions .github/release-please-config.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
{
"release-type": "python",
"changelog-sections": [
{ "type": "feat", "section": "🚀 Features", "hidden": false },
{ "type": "fix", "section": "🐛 Bug Fixes", "hidden": false },
{ "type": "refactor", "section": "🛠️ Refactor", "hidden": false },
{ "type": "test", "section": "Tests", "hidden": true },
{ "type": "docs", "section": "Documentation", "hidden": true },
{ "type": "readme", "section": "Documentation", "hidden": true },
{ "type": "chore", "section": "Miscellaneous", "hidden": true },
{ "type": "ci", "section": "Miscellaneous", "hidden": true }
]
}
7 changes: 4 additions & 3 deletions .github/workflows/release-please.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,7 @@ jobs:
# (PAT) and configured it as a GitHub action secret named
# `MY_RELEASE_PLEASE_TOKEN` (this secret name is not important).
token: ${{ secrets.RELEASE_PLEASE_GENERALS }}
# this is a built-in strategy in release-please, see "Action Inputs"
# for more options
release-type: python
# optional. customize path to release-please-config.json
config-file: .github/release-please-config.json
# optional. customize path to .release-please-manifest.json
manifest-file: .github/.release-please-manifest.json
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# Changelog

## [0.2.0](https://github.com/strakam/Generals-RL/compare/v0.1.0...v0.2.0) (2024-09-24)
## [0.2.1](https://github.com/strakam/Generals-RL/compare/v0.1.0...v0.2.1) (2024-09-24)


### Features
Expand Down

0 comments on commit ee708ac

Please sign in to comment.