2021-05-28 12:16:02 -05:00
|
|
|
export build_version="${sonic_version}"
|
|
|
|
export asic_type="${sonic_asic_platform}"
|
|
|
|
export commit_id="$(git rev-parse --short HEAD)"
|
2021-08-08 22:44:02 -05:00
|
|
|
export branch="$(git rev-parse --abbrev-ref HEAD)"
|
2021-05-28 12:16:02 -05:00
|
|
|
export build_date="$(date -u)"
|
|
|
|
export build_number="${BUILD_NUMBER:-0}"
|
|
|
|
export built_by="$USER@$BUILD_HOSTNAME"
|
|
|
|
j2 sonic_version.yml.j2 > $1
|