From 3c385f6199441409356832888ddae84b8b76ff11 Mon Sep 17 00:00:00 2001 From: Mikalai Radchuk Date: Wed, 30 Oct 2024 17:52:23 +0100 Subject: [PATCH] Fix release automation Signed-off-by: Mikalai Radchuk --- .github/workflows/goreleaser.yaml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/goreleaser.yaml b/.github/workflows/goreleaser.yaml index bed8c3b816..ea5411981f 100644 --- a/.github/workflows/goreleaser.yaml +++ b/.github/workflows/goreleaser.yaml @@ -34,9 +34,8 @@ jobs: env: GITHUB_TOKEN: ${{ github.token }} with: + name: ${{ env.IMAGE_TAG }} draft: true - tag_name: ${{ github.ref }} - release_name: ${{ github.ref }} - name: Set up QEMU uses: docker/setup-qemu-action@v3 @@ -60,7 +59,8 @@ jobs: PKG: github.com/operator-framework/operator-lifecycle-manager - name: Generate quickstart release manifests - run: make release ver=${{ env.IMAGE_TAG }} IMAGE_REPO=quay.io/operator-framework/olm + if: startsWith(github.ref, 'refs/tags') + run: make release RELEASE_VERSION=${{ env.IMAGE_TAG }} IMAGE_REPO=quay.io/operator-framework/olm - name: Update release artifacts with rendered Kubernetes release manifests uses: softprops/action-gh-release@v2