make update-version
: always update all relevant files
Fix an issue where `make update-version` would only update the first set of files it could, and skip the remaining ones. Only relevant for developers.
This commit is contained in:
parent
6f38ac75ea
commit
453c572916
@ -31,9 +31,9 @@ func main() {
|
|||||||
|
|
||||||
var anyFileWasChanged bool
|
var anyFileWasChanged bool
|
||||||
if cliArgs.updateMakefile {
|
if cliArgs.updateMakefile {
|
||||||
anyFileWasChanged = anyFileWasChanged || updateMakefile()
|
anyFileWasChanged = updateMakefile() || anyFileWasChanged
|
||||||
}
|
}
|
||||||
anyFileWasChanged = anyFileWasChanged || updateAddon()
|
anyFileWasChanged = updateAddon() || anyFileWasChanged
|
||||||
|
|
||||||
if !anyFileWasChanged {
|
if !anyFileWasChanged {
|
||||||
log.Warn().Msg("nothing changed")
|
log.Warn().Msg("nothing changed")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user