From 4d7f217d5b40f440d80d36383548947383339f10 Mon Sep 17 00:00:00 2001 From: Cees Bos Date: Fri, 17 Nov 2023 21:09:53 +0100 Subject: [PATCH] ci(main): add please-release Github action to release versions of this module --- .github/workflows/release-please.yml | 18 ++++++++++++++++++ .release-please-manifest.json | 3 +++ release-please-config.json | 22 ++++++++++++++++++++++ 3 files changed, 43 insertions(+) create mode 100644 .github/workflows/release-please.yml create mode 100644 .release-please-manifest.json create mode 100644 release-please-config.json diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000..e0ca9f8 --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,18 @@ +on: + push: + branches: + - main + +permissions: + contents: write + pull-requests: write + +name: release-please + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: google-github-actions/release-please-action@v3 + with: + command: manifest diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..f5b6b2a --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,3 @@ +{ + ".": "0.0.0" +} diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..0d98521 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,22 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "release-type": "simple", + "tag-separator": "/", + "changelog-sections": [ + { "type": "chore", "section": "Miscellaneous Chores", "hidden": true }, + { "type": "ci", "section": "Continuous Integration" }, + { "type": "docs", "section": "Documentation 📝" }, + { "type": "feat", "section": "Features ✨" }, + { "type": "feature", "section": "Features ✨" }, + { "type": "fix", "section": "Bug Fixes 🐞" }, + { "type": "perf", "section": "Performance Improvements ⚡️" }, + { "type": "style", "section": "Styles 🎨" } + ], + "packages": { + ".": { + "exclude-paths": [ + ], + "separate-pull-requests": true + } + } +}