mirror of
https://github.com/JulianGro/overte.git
synced 2025-04-08 18:02:13 +02:00
Fix tag warning to check the previous version
This commit is contained in:
parent
dc91b1c915
commit
75ac98bd45
1 changed files with 2 additions and 2 deletions
|
@ -172,8 +172,8 @@ def createVersionBranches(version):
|
|||
if is_patch_release:
|
||||
|
||||
# Check tag exists, if it doesn't, print warning and ask for comfirmation
|
||||
if not repo.does_tag_exist(version):
|
||||
logging.warning("The tag {} does not exist, which suggests {} has not yet been released.".format(version, version))
|
||||
if not repo.does_tag_exist(previous_version):
|
||||
logging.warning("The tag {} does not exist, which suggests {} has not yet been released.".format(previous_version, previous_version))
|
||||
logging.warning("Creating the branches now means that {} will diverge from {} if anything is merged into {}.".format(version, previous_version, previous_version))
|
||||
logging.warning("This is not recommended unless necessary.")
|
||||
|
||||
|
|
Loading…
Reference in a new issue