From 3d78114b251e0ce43ebf3ab32bcf2ffbdbbae05d Mon Sep 17 00:00:00 2001 From: Alexander Bantyev Date: Thu, 21 May 2020 19:14:41 +0300 Subject: [PATCH] Pass COMMIT_DATE to the build --- .gitlab-ci.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index be16f2a95..94693fcc0 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -30,6 +30,7 @@ version_scheduled_job: before_script: - find "$CI_PROJECT_DIR" -path "$CI_PROJECT_DIR/.git" -prune -o "(" -type d -a -not -perm -u=w ")" -exec chmod --verbose u+w {} ";" - nix-env -f channel:nixos-unstable -iA gnutar gitMinimal + - export COMMIT_DATE="$(git show --no-patch --format=%ci)" # The binary produced is useless by itself binary: