CI: Add LICENSE.txt and to artifacts

Fixes issue#27
parent 6a0fc530
cp *.conf build
cp *.conf LICENSE.txt build
cd build
rm -rf ttf otf woff woff2 *.pdf
......@@ -9,10 +9,10 @@ cp *.otf otf
cp *.woff woff
cp *.woff2 woff2
tar czvf ${CI_PROJECT_NAME}-${CI_COMMIT_TAG}.tar.gz *.conf ttf otf
tar czvf ${CI_PROJECT_NAME}-${CI_COMMIT_TAG}.tar.gz *.conf LICENSE.txt ttf otf
sha256sum ${CI_PROJECT_NAME}-${CI_COMMIT_TAG}.tar.gz > ${CI_PROJECT_NAME}-${CI_COMMIT_TAG}.tar.gz.sha256
md5sum ${CI_PROJECT_NAME}-${CI_COMMIT_TAG}.tar.gz > ${CI_PROJECT_NAME}-${CI_COMMIT_TAG}.tar.gz.md5
zip -j ${CI_PROJECT_NAME}-${CI_COMMIT_TAG}.zip otf/*
zip -j ${CI_PROJECT_NAME}-${CI_COMMIT_TAG}.zip LICENSE.txt otf/*
ln -s ${CI_PROJECT_NAME}-${CI_COMMIT_TAG}.tar.gz.sha256 ./${CI_PROJECT_NAME}_LATEST.tar.gz.sha256
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment