Skip to content

Commit

Permalink
make_translation.py: fix condition
Browse files Browse the repository at this point in the history
  • Loading branch information
ia committed Aug 3, 2023
1 parent fff4abb commit 84a4b97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Translations/make_translation.py
Original file line number Diff line number Diff line change
Expand Up @@ -1266,7 +1266,7 @@ def get_translation_sanity_checks_text(defs: dict) -> str:
def get_version_suffix(ver) -> str:
# Check env var from push.yml first:
# - if it's pull request then use vX.YY + C.ID for version line as in *C*I with proper tag instead of merge tag for detached tree
if os.environ.get("GITHUB_CI_PR_SHA", None) is not None:
if os.environ.get("GITHUB_CI_PR_SHA", "") != "":
return "C" + "." + os.environ["GITHUB_CI_PR_SHA"][:8].upper()
# - no github PR SHA ID, hence keep checking

Expand Down

0 comments on commit 84a4b97

Please sign in to comment.