From 5d06630b2c3ae67e75c2069ba3f12db12774bf9f Mon Sep 17 00:00:00 2001 From: Tom Jack Date: Wed, 6 May 2020 06:04:29 -0500 Subject: [PATCH] Export COMMIT_DATE also in build_binary --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 34c499512..02c47907e 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -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: