Commit 9cb94d29 authored by Konstantin Pavlov's avatar Konstantin Pavlov

CI: Publish snaps on the snap store

The push only happens under videolan namespace.
parent f392b4c2
Pipeline #4972 passed with stages
in 6 minutes and 43 seconds
...@@ -229,6 +229,12 @@ build-ubuntu-snap: ...@@ -229,6 +229,12 @@ build-ubuntu-snap:
- debian - debian
script: script:
- snapcraft snap - 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: artifacts:
name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG" name: "$CI_JOB_NAME-$CI_COMMIT_REF_SLUG"
paths: paths:
......
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