diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml index 47ab378..f014148 100644 --- a/.github/workflows/release-please.yml +++ b/.github/workflows/release-please.yml @@ -19,34 +19,22 @@ jobs: runs-on: ubuntu-latest steps: - uses: googleapis/release-please-action@v4 + id: release with: # this assumes that you have created a personal access token # (PAT) and configured it as a GitHub action secret named - # `MY_RELEASE_PLEASE_TOKEN` (this secret name is not important). - token: ${{ secrets.MY_RELEASE_PLEASE_TOKEN }} + # `RELEASE_PLEASE` (this secret name is not important). + token: ${{ secrets.RELEASE_PLEASE }} # this is a built-in strategy in release-please, see "Action Inputs" # for more options - release-type: simple - changelog-types: - [ - {"type":"feat","section":"๐Ÿš€ Features","hidden":false}, - {"type":"change","section":"๐Ÿš€ Features","hidden":false}, - {"type":"deprecate","section":"โš ๏ธ Changes","hidden":false}, - {"type":"remove","section":"โš ๏ธ Changes","hidden":false}, - {"type":"fix","section":"๐Ÿž Bug Fixes","hidden":false}, - {"type":"revert","section":"๐Ÿž Bug Fixes","hidden":false}, - {"type":"security","section":"๐Ÿž Bug Fixes","hidden":false}, - {"type":"perf","section":"โœจ Polish","hidden":false}, - {"type":"refactor","section":"โœจ Polish","hidden":false}, - {"type":"style","section":"โœจ Polish","hidden":false}, - {"type":"build","section":"๐Ÿงฐ Other","hidden":false}, - {"type":"chore","section":"๐Ÿงฐ Other","hidden":false}, - {"type":"deps","section":"๐Ÿงฐ Other","hidden":true}, - {"type":"ci","section":"๐Ÿงฐ Other","hidden":true}, - {"type":"test","section":"๐Ÿงช Tests","hidden":false}, - {"type":"docs","section":"๐Ÿ“š Documentation","hidden":false} - ] - pull-request-header: "๐Ÿค– I have created a release" + # optional. customize path to release-please-config.json + config-file: release-please-config.json + # optional. customize path to .release-please-manifest.json + manifest-file: .release-please-manifest.json # package-name: ${{env.ACTION_NAME}} - - run: echo "๐Ÿ This job's status is ${{ job.status }}." + - name: Print release outputs for debugging + run: | + echo "Release outputs:" + echo "๐Ÿ This job's status is ${{ job.status }}." + echo "${{ toJson(steps.release.outputs) }}" diff --git a/.release-please-manifest.json b/.release-please-manifest.json new file mode 100644 index 0000000..e69de29 diff --git a/release-please-config.json b/release-please-config.json new file mode 100644 index 0000000..2c4c4f7 --- /dev/null +++ b/release-please-config.json @@ -0,0 +1,97 @@ +{ + "$schema": "https://raw.githubusercontent.com/googleapis/release-please/main/schemas/config.json", + "include-component-in-tag": false, + "include-v-in-tag": true, + "pull-request-header": "๐Ÿค– I have created a release", + "pull-request-footer": "", + "packages": { + ".": { + "package-name": "never-be-lost", + "changelog-sections": [ + { + "type": "build", + "hidden": false, + "section": "๐Ÿงฐ Other" + }, + { + "type": "change", + "hidden": false, + "section": "๐Ÿš€ Features" + }, + { + "type": "chore", + "hidden": false, + "section": "๐Ÿงฐ Other" + }, + { + "type": "ci", + "hidden": true, + "section": "๐Ÿงฐ Other" + }, + { + "type": "deprecate", + "hidden": false, + "section": "โš ๏ธ Changes" + }, + { + "type": "deps", + "hidden": true, + "section": "๐Ÿงฐ Other" + }, + { + "type": "docs", + "hidden": false, + "section": "๐Ÿ“š Documentation" + }, + { + "type": "feat", + "hidden": false, + "section": "๐Ÿš€ Features" + }, + { + "type": "fix", + "hidden": false, + "section": "๐Ÿž Bug Fixes" + }, + { + "type": "perf", + "hidden": false, + "section": "โœจ Polish" + }, + { + "type": "refactor", + "hidden": false, + "section": "โœจ Polish" + }, + { + "type": "remove", + "hidden": false, + "section": "โš ๏ธ Changes" + }, + { + "type": "revert", + "hidden": false, + "section": "๐Ÿž Bug Fixes" + }, + { + "type": "security", + "hidden": false, + "section": "๐Ÿž Bug Fixes" + }, + { + "type": "style", + "hidden": false, + "section": "โœจ Polish" + }, + { + "type": "test", + "hidden": false, + "section": "๐Ÿงช Tests" + } + ] + } + }, + "release-type": "node", + "separate-pull-requests": true, + "tag-separator": "@" +}