Merge branch 'docker-version-info' into 'dev'

Export COMMIT_DATE also in build_binary

See merge request ligolang/ligo!606
This commit is contained in:
Tom Jack 2020-05-08 15:50:25 +00:00
commit c307f251c8

View File

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