Skip to content

Commit

Permalink
Merge branch 'development'
Browse files Browse the repository at this point in the history
  • Loading branch information
helgeerbe committed Aug 10, 2023
2 parents 4873041 + be2846a commit 026bca9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pio-scripts/auto_firmware_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ def get_firmware_specifier_build_flag():
branch_name = porcelain.active_branch('.').decode('utf-8') # '.' refers to the repository root dir
except Exception as err:
print(f"Unexpected {err=}, {type(err)=}")
branch_name = ""
branch_name = "master"
build_flag = "-D AUTO_GIT_HASH=\\\"" + build_version + "\\\" "
build_flag += "-D AUTO_GIT_BRANCH=\\\"" + branch_name + "\\\""
print("Firmware Revision: " + build_version)
Expand Down

0 comments on commit 026bca9

Please sign in to comment.