Verified Commit 0219a622 authored by Hans-Nikolai Viessmann's avatar Hans-Nikolai Viessmann
Browse files

add CI

parent 6e1b57b5
image: sacbuild/archlinux:latest
variables:
GIT_STRATEGY: clone
GIT_DEPTH: 0
GIT_FETCH_EXTRA_FLAGS: --no-tags
stages:
- store
store-pkgs:
stage: store
before_script:
- git config --global user.email "noreply@sac-home.org"
- git config --global user.name "Borg Drone (Gitlab)"
script:
- if [ -z "${PROJECTID}"] || [ -z "${PIPEID}"]; then
echo "Missing project details!!!"
exit 10;
fi
- ./get-assets.sh -v -a "${TOKEN}" -u "https://gitlab.sac-home.org" -p "${PROJECTID}" -c "${PIPEID}"
- cd packages; cp -r pkgs/weekly .; rm -r pkgs; cd ..
- ./place-latest.sh
- git add latest/ packages/
- git commit -m "add ${SACVER} weekly release"
- git tag -am "version ${SACVER}" "v${SACVER}"
- git push --follow-tags
only:
- web
- triggers
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