ci: create release tarball and hash as build artifacts

This commit is contained in:
wicadmin
2020-09-29 08:58:08 +00:00
committed by Aleksander Morgado
parent 2494645448
commit 72d8bae65b

View File

@@ -146,3 +146,10 @@ build-default:
- make check - make check
- make install - make install
- make distcheck - make distcheck
- sha256sum $CI_PROJECT_NAME-*.tar.xz | awk '{print $1;}' > pkg_hash.txt
artifacts:
name: "$CI_PROJECT_NAME-$CI_COMMIT_SHORT_SHA"
paths:
- /builds/$CI_PROJECT_ROOT_NAMESPACE/$CI_PROJECT_NAME/$CI_PROJECT_NAME-*.tar.xz
- /builds/$CI_PROJECT_ROOT_NAMESPACE/$CI_PROJECT_NAME/pkg_hash.txt
expire_in: 2 days