From 8ba1a17666e8c59331f1b497653398e77dfb6d0d Mon Sep 17 00:00:00 2001 From: redatman Date: Sun, 21 Jul 2024 00:56:48 +0800 Subject: [PATCH 1/2] Fix: Remove unnecessary release type specification The `release_type` parameter was being explicitly set to `patch` within the release workflow, which is redundant as the default bump is already set to `patch`. Removing this unnecessary specification streamlines the workflow and ensures consistency with the intended release strategy. --- .github/workflows/release.yaml | 1 - 1 file changed, 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 6c30862..d2b8f8c 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -20,7 +20,6 @@ jobs: with: tag_prefix: "st4-" default_bump: patch - release_type: patch github_token: ${{ secrets.GITHUB_TOKEN }} - name: Check release output From 103e17128513b1a245e5252941e6770da279bc25 Mon Sep 17 00:00:00 2001 From: redatman Date: Sun, 21 Jul 2024 00:58:31 +0800 Subject: [PATCH 2/2] Fix: Release workflow default bump config The release workflow was not properly configured to automatically bump the version on a patch release. This commit ensures that the `default_bump` setting is correctly defined for patch releases. --- .github/workflows/release.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index d2b8f8c..9006b68 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -19,7 +19,7 @@ jobs: uses: mathieudutour/github-tag-action@v6.2 with: tag_prefix: "st4-" - default_bump: patch + default_bump: "patch" github_token: ${{ secrets.GITHUB_TOKEN }} - name: Check release output