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

chore: hotfix the update to spoof the release #69

Merged
merged 1 commit into from
Mar 29, 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
9 changes: 2 additions & 7 deletions tasks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,8 @@ tasks:
description: Create UDS Gitlab Runner bundle based on the latest release
actions:
- task: pull:latest-package-release
# TODO (@WSTARR): This is currently needed to get around the chicken+egg condition when release please updates the version in GH
- description: Get the current Zarf package name
cmd: cat zarf.yaml | yq .metadata.version
setVariables:
- name: CURRENT_VERSION
- description: Move the latest to the current (needed to make this work on release-please PRs)
cmd: test -f zarf-package-gitlab-runner-${UDS_ARCH}-${CURRENT_VERSION}.tar.zst || mv zarf-package-gitlab-runner-${UDS_ARCH}-*.tar.zst zarf-package-gitlab-runner-${UDS_ARCH}-${CURRENT_VERSION}.tar.zst
with:
spoof_release: "true"
- task: create:test-bundle

# CI will execute the following (via uds-common/.github/actions/test) so they need to be here with these names
Expand Down