ref: 9cb94d2941707e1973d69b9a738df4e3579407f0
parent: f392b4c205de44333a89433981743a809ca0fe8b
author: Konstantin Pavlov <thresh@videolan.org>
date: Fri Feb 22 11:14:41 EST 2019
CI: Publish snaps on the snap store The push only happens under videolan namespace.
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -229,6 +229,12 @@
- debian
script:
- snapcraft snap
+ - |
+ if [ "$CI_PROJECT_NAMESPACE" = "videolan" ]; then
+ echo $SNAP_LOGIN | base64 --decode | snapcraft login --with -
+ snapcraft push dav1d_*.snap --release edge
+ snapcraft logout
+ fi
artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths: