-
-
Notifications
You must be signed in to change notification settings - Fork 2k
bug fix: push :edge when VERSION is updated as well
#3662
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
Conversation
Previously, we did not run the workflow on push on `master` when a release happened because the push on master is guarded by a check on which files were changed. With this change, I added `VERSION` to the list of files to consider when updating `:edge`.
a1f8cca to
3bdd682
Compare
|
Auto-merge is enabled. I have also manually started a run for the default push action, so an updated |
casperklein
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
BTW: would it hurt, to just build on all changes regardless of the path?
|
|
UPDATE: I guess this PR (unexpectedly 😆) solves the issue quite nicely; we should actually not remove |
polarathene
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We have a better fix IMO, :edge shouldn't care about this at all.
| - .gitmodules | ||
| - Dockerfile | ||
| - setup.sh | ||
| - VERSION # also update :edge when a release happens |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment is unnecessary:
| - VERSION # also update :edge when a release happens | |
| - VERSION |
VERSION contributes no meaning to :edge. In the past we have once missed bumping VERSION before tagging a release, but since we only publish images other than :edge by tagged commits, we just published a new tag semver-patch release to resolve that.
I'd rather see the VERSION file removed since it's unnecessary to support the functionality it's intended for, but since it the script in all prior releases since v10 will rely on checking VERSION we'd need to keep it around for a while 🤷♂️
If the better update check approach is taken, then the addition to build an image when VERSION changes would become redundant:
| - VERSION # also update :edge when a release happens |
Description
Previously, we did not run the workflow on push on
masterwhen a release happened because the push on master is guarded by a check on which files were changed.With this change, I added
VERSIONto the list of files to consider when updating:edge.Superseeds #3659
Type of change
Checklist: