diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 2c191c3..378454f 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -9,6 +9,7 @@ on: jobs: build: + if: startsWith(github.ref, 'refs/tags/v') runs-on: ubuntu-latest steps: - name: Download artifacts for release @@ -24,7 +25,6 @@ jobs: - name: Create release uses: softprops/action-gh-release@v2 - if: startsWith(github.ref, 'refs/tags/') with: draft: true prerelease: ${{ contains(github.ref, 'rc') || contains(github.ref, 'beta') || contains(github.ref, 'alpha') }}