Skip to content

Commit

Permalink
[sonic_cli]: Add build commit ID to show version command (sonic-net#33)
Browse files Browse the repository at this point in the history
Signed-off-by: Shuotian Cheng <[email protected]>
  • Loading branch information
Shuotian Cheng authored Apr 20, 2017
1 parent 5df8acb commit 5f90ff9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions sonic_cli/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -298,6 +298,7 @@ def version():
VERSION_TEMPLATE_CONTENTS = "SONiC Software Version: SONiC.{{ build_version }}\n" \
"Distribution: Debian {{ debian_version }}\n" \
"Kernel: {{ kernel_version }}\n" \
"Build commit: {{ commit_id }}\n" \
"Build date: {{ build_date }}\n" \
"Built by: {{ built_by }}"

Expand Down

0 comments on commit 5f90ff9

Please sign in to comment.