Export COMMIT_DATE also in build_binary

This commit is contained in:
Tom Jack 2020-05-06 06:04:29 -05:00
parent e93e3ccbdd
commit 5d06630b2c

View File

@ -29,6 +29,7 @@ dont-merge-to-master:
.build_binary: &build_binary
stage: test # To run in sequence and save CPU usage, use stage: build_and_package_binaries
script:
- export COMMIT_DATE="$(git show --no-patch --format=%ci)"
- $build_binary_script "$target_os_family" "$target_os" "$target_os_version"
- $package_binary_script "$target_os_family" "$target_os" "$target_os_version"
artifacts: