Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix release automation #3426

Merged
merged 1 commit into from
Oct 31, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions .github/workflows/goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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')
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Adding this condition back (was removed in #3293). This step pulls an image and we don't have an image when running against anything other than a tag.

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
Expand Down