From 5a01f50258003e248bd5630df0837fe0bb0f1cb7 Mon Sep 17 00:00:00 2001 From: Mikalai Radchuk <509198+m1kola@users.noreply.github.com> Date: Thu, 31 Oct 2024 18:26:06 +0100 Subject: [PATCH] Fix release automation (#3426) 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