From ee708acb8f9167d74896d571b16109e6d162c3d4 Mon Sep 17 00:00:00 2001 From: Jonas Dujava Date: Wed, 25 Sep 2024 21:32:05 +0200 Subject: [PATCH] ci(release): add release config Prettier release sections. Signed-off-by: Jonas Dujava --- .github/.release-please-manifest.json | 3 +++ .github/release-please-config.json | 13 +++++++++++++ .github/workflows/release-please.yml | 7 ++++--- CHANGELOG.md | 2 +- 4 files changed, 21 insertions(+), 4 deletions(-) create mode 100644 .github/.release-please-manifest.json create mode 100644 .github/release-please-config.json diff --git a/.github/.release-please-manifest.json b/.github/.release-please-manifest.json new file mode 100644 index 0000000..af55ef0 --- /dev/null +++ b/.github/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "0.2.1" +} diff --git a/.github/release-please-config.json b/.github/release-please-config.json new file mode 100644 index 0000000..de2b246 --- /dev/null +++ b/.github/release-please-config.json @@ -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 } + ] +} diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index e74a265..42ee302 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -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 diff --git a/CHANGELOG.md b/CHANGELOG.md index 819e5fa..4779a59 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -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