Pass COMMIT_DATE to the build
This commit is contained in:
parent
a14bf15e77
commit
3d78114b25
@ -30,6 +30,7 @@ version_scheduled_job:
|
|||||||
before_script:
|
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 {} ";"
|
- 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
|
- 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
|
# The binary produced is useless by itself
|
||||||
binary:
|
binary:
|
||||||
|
Loading…
Reference in New Issue
Block a user