diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 5af8478..3d46860 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -18,12 +18,9 @@ jobs: uses: actions/checkout@v4 with: fetch-depth: 0 + persist-credentials: false - name: Semantic Release id: semantic env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - uses: cycjimmy/semantic-release-action@v3 - with: - extra_plugins: | - @semantic-release/commit-analyzer - @semantic-release/git + uses: cycjimmy/semantic-release-action@v4 diff --git a/.releaserc.json b/.releaserc.json index 334373e..d3ea030 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -3,7 +3,6 @@ "12", "master" ], - "fail": ["@semantic-release/github"], "plugins": [ [ "@semantic-release/commit-analyzer", @@ -17,10 +16,9 @@ ] } ], + "@semantic-release/release-notes-generator", "@semantic-release/github" ], - "publish": [ "@semantic-release/github" ], "repositoryUrl": "https://github.com/rubencabrera/odoo-addons.git", - "tagFormat": "${version}", - "verifyConditions": [ "@semantic-release/github" ] + "tagFormat": "${version}" }