From 0daff930d40a7af133e1b88710553092d5f6a313 Mon Sep 17 00:00:00 2001 From: Matts966 Date: Sun, 17 Apr 2022 03:44:10 +0900 Subject: [PATCH] fix release flow --- .github/workflows/build.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index c2186027..6c3bed3e 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -30,11 +30,11 @@ jobs: ./zetasql-formatter . - name: Release uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') with: - name: Debug - tag_name: debug files: zetasql-formatter_linux_x86_64.zip prerelease: true + generate_release_notes: true macos: name: Test the repository runs-on: macos-10.15 @@ -59,8 +59,8 @@ jobs: ./zetasql-formatter . - name: Release uses: softprops/action-gh-release@v1 + if: startsWith(github.ref, 'refs/tags/') with: - name: Debug - tag_name: debug files: zetasql-formatter_darwin_amd64.zip prerelease: true + generate_release_notes: true