patching: python: useful debug log with value of BASE_GIT_TAG

This commit is contained in:
Ricardo Pardini
2023-04-02 04:16:14 +02:00
parent f6f621b9a1
commit e631e0fc97

View File

@@ -230,6 +230,7 @@ if apply_patches:
if BASE_GIT_TAG is None:
raise Exception("BASE_GIT_REVISION or BASE_GIT_TAG must be set")
else:
log.debug(f"Getting revision of BASE_GIT_TAG={BASE_GIT_TAG}")
BASE_GIT_REVISION = git_repo.tags[BASE_GIT_TAG].commit.hexsha
log.debug(f"Found BASE_GIT_REVISION={BASE_GIT_REVISION} for BASE_GIT_TAG={BASE_GIT_TAG}")