bug fix: push :edge when VERSION is updated as well#3662
bug fix: push :edge when VERSION is updated as well#3662georglauterbach merged 1 commit intomasterfrom
:edge when VERSION is updated as well#3662Conversation
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.
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.
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.
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: