[build]: add commit id and build number in sonic_version (#508)
This commit is contained in:
parent
701c1eb9b1
commit
fae53f7ea2
@ -264,7 +264,9 @@ build_version: $(sonic_get_version)
|
||||
debian_version: $(cat $FILESYSTEM_ROOT/etc/debian_version)
|
||||
kernel_version: $kversion
|
||||
asic_type: $sonic_asic_platform
|
||||
commit_id: $(git rev-parse --short HEAD)
|
||||
build_date: $(date -u)
|
||||
build_number: ${BUILD_NUMBER:-0}
|
||||
built_by: $USER@$BUILD_HOSTNAME
|
||||
EOF
|
||||
|
||||
|
@ -1 +1 @@
|
||||
Subproject commit fcfefdb0b96ef36a18cb13669a964b196a036436
|
||||
Subproject commit 5df8acb5ef48eb34e67b0b5a693fa9f923a79da1
|
Loading…
Reference in New Issue
Block a user