Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/videolan/dav1d.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Dressel <code@deadcode.eu>2021-08-27 04:12:40 +0300
committerMatthias Dressel <code@deadcode.eu>2021-09-03 16:31:42 +0300
commit4533dd86786110aff5e06afcc487c3d59c3efb62 (patch)
treed442d2dc01164bff53261899e99b1a5f510d4da4 /.gitlab-ci.yml
parent6ab2b716ccc6142bac1f062eb29e8c0845b06931 (diff)
CI: snap: Upload releases to stable channel
Diffstat (limited to '.gitlab-ci.yml')
-rw-r--r--.gitlab-ci.yml4
1 files changed, 3 insertions, 1 deletions
diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml
index c0029a5..3c979f7 100644
--- a/.gitlab-ci.yml
+++ b/.gitlab-ci.yml
@@ -387,8 +387,10 @@ build-ubuntu-snap:
- cd package/snap && snapcraft snap
- |
if [ "$CI_PROJECT_NAMESPACE" = "videolan" ]; then
+ SNAP_CHANNEL=edge
+ if [ "$CI_COMMIT_TAG" ]; then SNAP_CHANNEL=stable; fi
echo $SNAP_LOGIN | base64 --decode | snapcraft login --with -
- snapcraft push dav1d_*.snap --release edge
+ snapcraft push dav1d_*.snap --release $SNAP_CHANNEL
snapcraft logout
fi
artifacts: