-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Release workflows should fail early in case of Github/Makefile tag mismatch #41018
Comments
@r0mant How are they pushing a different tag than what is in the Makefile? You just run I do plan do fix this - I've been thinking about this yesterday - I don't think we need to tag dev builds at all any more. We used to trigger the build off the tag but since we do not any more, we should just be able to do This issue is perhaps the same as https://github.com/gravitational/teleport.e/issues/2021 (Fix regressions in release pipeline) which is what I've started working on, but there is a lot of churn in the release workflows with the |
I'm the one who did this. I was making a dev build off of a dev branch, so rather than waiting for a PR to merge to a release branch and tagging that commit, I tagged my dev branch directly.
The final invocation of One way to prevent this would be for |
I'll add two changes for this.
It should provide it a good developer UX to fail early rather than wait for the workflow to kick off before they realize their mistake. The workflow checking the version should be a good catch all just in case the error does occur despite our best efforts. |
Scenario:
v1.2.3-dev.cloud.1
.v1.2.3-cloud.dev.1
.Release workflows should detect this error early and fail with a clear error.
The text was updated successfully, but these errors were encountered: