From d05430caeafb39783f5b5b96fad4a9f9649262a6 Mon Sep 17 00:00:00 2001 From: t00ts Date: Thu, 25 Sep 2025 18:56:01 +0400 Subject: [PATCH 1/2] fix(ci): remove `if` condition from `create-draft-release` job and `upload-assets` --- .github/workflows/release.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 6433f5509e..2391992247 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -20,7 +20,7 @@ jobs: - uses: actions/checkout@v4 with: fetch-depth: 0 - + - name: Extract version from branch name id: extract_version run: | @@ -28,7 +28,7 @@ jobs: VERSION="${BRANCH_NAME#release/v}" echo "version=$VERSION" >> $GITHUB_OUTPUT echo "tag=v$VERSION" >> $GITHUB_OUTPUT - + - name: Create and push tag run: | git config --local user.email "action@github.com" @@ -38,7 +38,6 @@ jobs: create-draft-release: needs: auto-tag - if: startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 @@ -50,7 +49,6 @@ jobs: upload-assets: needs: create-draft-release - if: startsWith(github.ref, 'refs/tags/v') strategy: matrix: include: From e7fdd095ba46afc3c36cf7bcf9b656605ba14555 Mon Sep 17 00:00:00 2001 From: t00ts Date: Thu, 25 Sep 2025 19:14:30 +0400 Subject: [PATCH 2/2] fix(ci): remove manual push backwards-compatibility (was broken anyways) --- .github/workflows/release.yml | 3 --- 1 file changed, 3 deletions(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2391992247..3c1b6f054b 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -4,9 +4,6 @@ permissions: contents: write on: - push: - tags: - - v[0-9]+.* pull_request: types: [closed] branches: