From 96c2b36dcdd4d011091c2ff3405d1f71ce32dced Mon Sep 17 00:00:00 2001 From: Chris Mackey Date: Sat, 1 Jun 2024 08:21:56 -0700 Subject: [PATCH] fix(ci): Update the version of semantic release --- .github/workflows/ci.yaml | 8 ++++---- .releaserc.json | 8 +++++++- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index d0ee19f3..8f324ca5 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -52,9 +52,9 @@ jobs: with: python-version: 3.7 - name: set up node # we need node for for semantic release - uses: actions/setup-node@v2.1.2 + uses: actions/setup-node@v4 with: - node-version: 14.17.0 + node-version: 22.2.0 - name: install python dependencies run: | python -m pip install --upgrade pip @@ -66,8 +66,8 @@ jobs: - name: run semantic release id: new_release run: | - nextRelease="`npx semantic-release@^17.0.0 --dryRun | grep -oP 'Published release \K.*? ' || true`" - npx semantic-release@^17.0.0 + nextRelease="`npx semantic-release@^23.1.1 --dryRun | grep -oP 'Published release \K.*? ' || true`" + npx semantic-release@^23.1.1 echo "::set-output name=tag::$nextRelease" env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.releaserc.json b/.releaserc.json index 1030a397..66385454 100644 --- a/.releaserc.json +++ b/.releaserc.json @@ -2,7 +2,13 @@ "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator", - "@semantic-release/github", + [ + "@semantic-release/github", + { + "successComment": false, + "failTitle": false + } + ], [ "@semantic-release/exec", {