diff --git a/.github/workflows/release-showbridge.yaml b/.github/workflows/release-showbridge.yaml index 922b727..e80aab5 100644 --- a/.github/workflows/release-showbridge.yaml +++ b/.github/workflows/release-showbridge.yaml @@ -31,6 +31,12 @@ jobs: - name: set commit id: set_commit run: echo "short_commit=${GITHUB_SHA::7}" >> $GITHUB_OUTPUT + - name: create release + uses: softprops/action-gh-release@v3 + if: github.ref_type == 'tag' && github.event_name != 'workflow_dispatch' && startsWith(github.ref, 'refs/tags/v') + with: + draft: true + generate_release_notes: true linux_amd64: runs-on: ubuntu-24.04 needs: setup_release @@ -59,6 +65,12 @@ jobs: name: showbridge-linux-amd64 path: | showbridge_*.tar.gz + - name: upload artifacts to release + uses: softprops/action-gh-release@v3 + if: github.ref_type == 'tag' && github.event_name != 'workflow_dispatch' && startsWith(github.ref, 'refs/tags/v') + with: + draft: true + files: showbridge_*.tar.gz linux_arm64: runs-on: ubuntu-24.04-arm needs: setup_release @@ -87,6 +99,12 @@ jobs: name: showbridge-linux-arm64 path: | showbridge_*.tar.gz + - name: upload artifacts to release + uses: softprops/action-gh-release@v3 + if: github.ref_type == 'tag' && github.event_name != 'workflow_dispatch' && startsWith(github.ref, 'refs/tags/v') + with: + draft: true + files: showbridge_*.tar.gz windows: runs-on: ubuntu-latest needs: setup_release @@ -121,6 +139,12 @@ jobs: name: showbridge-windows path: | showbridge_*.zip + - name: upload artifacts to release + uses: softprops/action-gh-release@v3 + if: github.ref_type == 'tag' && github.event_name != 'workflow_dispatch' && startsWith(github.ref, 'refs/tags/v') + with: + draft: true + files: showbridge_*.zip macos_arm64: runs-on: macos-26 needs: setup_release @@ -147,6 +171,12 @@ jobs: name: showbridge-macos-arm64 path: | showbridge_*.tar.gz + - name: upload artifacts to release + uses: softprops/action-gh-release@v3 + if: github.ref_type == 'tag' && github.event_name != 'workflow_dispatch' && startsWith(github.ref, 'refs/tags/v') + with: + draft: true + files: showbridge_*.tar.gz macos_amd64: runs-on: macos-26-intel needs: setup_release @@ -173,6 +203,12 @@ jobs: name: showbridge-macos-amd64 path: | showbridge_*.tar.gz + - name: upload artifacts to release + uses: softprops/action-gh-release@v3 + if: github.ref_type == 'tag' && github.event_name != 'workflow_dispatch' && startsWith(github.ref, 'refs/tags/v') + with: + draft: true + files: showbridge_*.tar.gz docker: runs-on: ubuntu-latest needs: linux_amd64