diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000..c2d51f2 --- /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@v4 + with: + command: manifest diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..311b818 --- /dev/null +++ b/.release-please-manifest.json @@ -0,0 +1,4 @@ +{ + ".": "0.1.1", + "modules/abbr": "0.0.1" +} diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..b3eec1d --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,29 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "monorepo-tags": true, + "release-type": "go", + "tag-separator": "/", + "changelog-sections": [ + { "type": "BREAKING CHANGE", "section": "BREAKING CHANGES 💥"}, + { "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": [ + ".release-please-manifest.json", + "modules", + "release-please-config.json" + ] + }, + "modules/abbr": { + "component": "modules/abbr" + } + } +}