Commit b48bd96f authored by Stephan Jauernick's avatar Stephan Jauernick Committed by Philipp Schafft
Browse files

Update: Added variables for package name and version

parent 527f046e
......@@ -136,13 +136,16 @@ Distcheck:
Package Alpine (x86_64):
extends: .TemplateAlpine
stage: packaging
variables:
PACKAGE_PREFIX: "alpine-libigloo-bins"
PACKAGE_VERSION: "0.91"
script:
- mkdir _install_base
- make install DESTDIR=`pwd`/_install_base/
- cd _install_base/
- tar -cvzf ../libigloo-$CI_COMMIT_REF_NAME.tar.gz *
- tar -cvzf ../$PACKAGE_PREFIX-$CI_COMMIT_REF_NAME.tar.gz *
- cd ..
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file libigloo-$CI_COMMIT_REF_NAME.tar.gz "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/libigloo-bins/0.0.1-$CI_COMMIT_REF_NAME/libigloo-$CI_COMMIT_REF_NAME.tar.gz"'
- 'curl --header "JOB-TOKEN: $CI_JOB_TOKEN" --upload-file $PACKAGE_PREFIX-$CI_COMMIT_REF_NAME.tar.gz "${CI_API_V4_URL}/projects/${CI_PROJECT_ID}/packages/generic/$PACKAGE_PREFIX/$PACKAGE_VERSION-$CI_COMMIT_REF_NAME/$PACKAGE_PREFIX-$CI_COMMIT_REF_NAME.tar.gz"'
when: manual
needs:
# we need the build job artifacts
......
Supports Markdown
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