diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 85ba14b..564df3e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -3,7 +3,7 @@ name: release on: push: tags: - - "v*" + - "v*.*.*" - "test-release" env: CRATE_NAME: redacter @@ -125,3 +125,9 @@ jobs: matrix.platform.os == 'macOS-latest' && ( startsWith( github.ref, 'refs/tags/v' ) || github.ref == 'refs/tags/test-release' ) + - name: Publish GitHub release + uses: softprops/action-gh-release@v2 + with: + draft: true + files: "redacter-*" + if: matrix.toolchain == 'stable' && startsWith( github.ref, 'refs/tags/v' )