Skip to content

Commit

Permalink
Autobuild: Improve variable naming/coding style in analyse_git_refere…
Browse files Browse the repository at this point in the history
…nce.py
  • Loading branch information
hoffie committed Jun 18, 2022
1 parent c4d9573 commit 979ef53
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .github/actions_scripts/analyse_git_reference.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,13 +34,13 @@ def get_git_hash():

def get_build_version(jamulus_pro_version):
if "dev" in jamulus_pro_version:
name = "{}-{}".format(jamulus_pro_version, get_git_hash())
print("building an intermediate version: ", name)
return name
version = "{}-{}".format(jamulus_pro_version, get_git_hash())
print(f"building an intermediate version: {version}")
return version

name = jamulus_pro_version
print("building a release version: ", name)
return name
version = jamulus_pro_version
print(f"building a release version: {version}")
return version


def set_github_variable(varname, varval):
Expand Down

0 comments on commit 979ef53

Please sign in to comment.