Pass COMMIT_DATE to the build

This commit is contained in:
Alexander Bantyev 2020-05-21 19:14:41 +03:00
parent a14bf15e77
commit 3d78114b25
Signed by: balsoft
GPG Key ID: E081FF12ADCB4AD5

View File

@ -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: