From bb6ca7446fec662e160fcd43b1019778ac32323c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rub=C3=A9n=20Cabrera?= Date: Thu, 7 Mar 2024 02:01:24 +0000 Subject: [PATCH] ci(semrel): consolidating --- .github/workflows/release.yml | 7 ++----- .releaserc.json | 6 ++---- 2 files changed, 4 insertions(+), 9 deletions(-) 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}" }