Check dependency updates on the correct branch

Previously make-release.py checked dependency updates before checking out the
commit to be released. This could be annoying if the release branch had
everything up-to-date, but you ran the script from a different branch. Worse,
you could accidentally update the dependencies on your original branch, and have
it pass the release process with outdated dependencies.
This commit is contained in:
Greg Pfeil 2022-10-19 14:40:25 -06:00
parent ebea82c96c
commit 65d04eed60
1 changed files with 1 additions and 1 deletions

View File

@ -90,8 +90,8 @@ def main_logged(revision, release, releaseprev, releasefrom, releaseheight, hotf
verify_tags(revision, releaseprev, releasefrom)
verify_version(release, releaseprev, hotfix)
verify_dependency_updates()
initialize_git(revision, release, hotfix)
verify_dependency_updates()
patch_version_in_files(release, releaseprev)
patch_release_height(releaseheight)
commit('Versioning changes for {}.'.format(release.novtext))