From 46577f2c79bcc9f20b9925f6fa629f534d63a4f9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Vin=C3=ADcius=20Louren=C3=A7o?= Date: Fri, 22 Dec 2023 19:46:57 -0300 Subject: [PATCH] ci(release-please): try fix issues with release please config --- .github/workflows/release.yml | 8 ++--- release-please-config.json | 60 +++++++++++++++++++++-------------- 2 files changed, 40 insertions(+), 28 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index d9457ad3..cef2d102 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -14,16 +14,16 @@ jobs: release-please: runs-on: ubuntu-latest steps: + - name: Checkout Code + if: ${{ steps.release.outputs.release_created }} + uses: actions/checkout@v4 + - name: Release Please uses: google-github-actions/release-please-action@v4 id: release with: token: ${{ secrets.RELEASE_PLEASE_TOKEN_GITHUB }} - - name: Checkout Code - if: ${{ steps.release.outputs.release_created }} - uses: actions/checkout@v4 - - name: Use Node 20.x uses: actions/setup-node@v4 if: ${{ steps.release.outputs.release_created }} diff --git a/release-please-config.json b/release-please-config.json index 7f91081c..b7fcbfc6 100644 --- a/release-please-config.json +++ b/release-please-config.json @@ -1,58 +1,70 @@ { "packages": { ".": { - "changelog-path": "CHANGELOG.md", "release-type": "node", "bump-minor-pre-major": false, "bump-patch-for-minor-pre-major": false, "draft": false, "prerelease": false, "draft-pull-request": true, + "include-component-in-tag": false, + "include-v-in-tag": true, + "separate-pull-requests": false, + "skip-github-release": false, + "versioning": "default", + "pull-request-header": ":robot: I have created a release *beep* *boop*", + "pull-request-title-pattern": "chore${scope}: release${component} ${version}", + "changelog-path": "CHANGELOG.md", + "changelog-host": "https://github.com", + "changelog-type": "default", "changelog-sections": [ { "type": "feat", - "section": "Features", - "hidden": false + "section": "Features" + }, + { + "type": "feature", + "section": "Features" }, { "type": "fix", - "section": "Bug Fixes", - "hidden": false + "section": "Bug Fixes" }, { - "type": "docs", - "section": "Documentation", - "hidden": false + "type": "perf", + "section": "Performance Improvements" }, { - "type": "build", - "section": "Build Related", - "hidden": false + "type": "revert", + "section": "Reverts" }, { - "type": "chore", - "section": "Chores", - "hidden": false + "type": "docs", + "section": "Documentation" }, { - "type": "perf", - "section": "Performance Improvements", - "hidden": false + "type": "style", + "section": "Styles" }, { - "type": "ci", - "section": "CI", - "hidden": false + "type": "chore", + "section": "Miscellaneous Chores" }, { "type": "refactor", - "section": "Refactoring", - "hidden": false + "section": "Code Refactoring" }, { "type": "test", - "section": "Tests", - "hidden": false + "section": "Tests" + }, + { + "type": "build", + "section": "Build System" + }, + { + "type": "ci", + "section": "Continuous Integration" } ] }