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

plugin upload release workflow - fix dry-run determination #2839

Merged
merged 1 commit into from
Sep 5, 2024

Conversation

jackietung-redpanda
Copy link
Contributor

@jackietung-redpanda jackietung-redpanda commented Sep 5, 2024

Issue was that DRY_RUN always evaluated to true, due to misunderstanding about GHA expressions syntax and how that can be used as env vars under different contexts. At least this is probably the least bad way to fail.

We fix it all up here.

@jackietung-redpanda
Copy link
Contributor Author

Tested manually:

  • PR CI itself - confirmed that it resolves to --dry-run.
  • Tagged a dummy RC release tag on the PR commit, indeed, NOT --dry-run.

Build error shown as headline is only because I cancelled the full release build (docker, goreleaser jobs) from the dummy RC tag test.

@jackietung-redpanda jackietung-redpanda merged commit b9d9f6a into main Sep 5, 2024
5 of 7 checks passed
@rockwotj rockwotj deleted the jackie-plugin-yaml-bool branch September 5, 2024 21:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants