Skip to content

Commit

Permalink
add fw version print during build
Browse files Browse the repository at this point in the history
  • Loading branch information
madcowswe committed Jul 1, 2018
1 parent 86095e1 commit 3851780
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/odrive/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ def get_version_str(git_only=False, is_post_release=False, bump_rev=False):
args = parser.parse_args()

git_name, major, minor, revision, unreleased = get_version_from_git()
print('Firmware version {}.{}.{}{}, aka {}'.format(
print('Firmware version {}.{}.{}{} ({})'.format(
major, minor, revision, '-dev' if unreleased else '',
git_name))
args.output.write('#define FW_VERSION "{}"\n'.format(git_name))
Expand Down

0 comments on commit 3851780

Please sign in to comment.