[vlc-commits] CI: snap: move nightly artifacts to the same directory as other jobs

Konstantin Pavlov git at videolan.org
Sun Apr 5 20:54:57 CEST 2020


vlc/vlc-3.0 | branch: master | Konstantin Pavlov <thresh at videolan.org> | Sun Apr  5 16:03:53 2020 +0300| [739faf7e670ab3bcbdc06e47998b1121065cc95e] | committer: Konstantin Pavlov

CI: snap: move nightly artifacts to the same directory as other jobs

(cherry picked from commit 202e8bb13821376bfb358b61af06b901bcc90c98)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-3.0.git/?a=commit;h=739faf7e670ab3bcbdc06e47998b1121065cc95e
---

 extras/ci/gitlab-ci.yml | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/extras/ci/gitlab-ci.yml b/extras/ci/gitlab-ci.yml
index 44402c89a4..0be33f21cd 100644
--- a/extras/ci/gitlab-ci.yml
+++ b/extras/ci/gitlab-ci.yml
@@ -205,13 +205,14 @@ nightly-snap:
     except:
     after_script:
         - if [ "$CI_PROJECT_NAMESPACE" = "videolan" ]; then /bin/true; else exit 0; fi
-        - cd extras/package/snap
+        - mkdir nightlies
+        - mv extras/package/snap/vlc_*.snap nightlies/
         - echo $SNAP_LOGIN | base64 --decode | snapcraft login --with -
-        - snapcraft push vlc_*.snap --release beta
+        - snapcraft push nightlies/vlc_*.snap --release beta
         - snapcraft logout
     artifacts:
         paths:
-           - extras/package/snap/vlc_*.snap
+           - nightlies/*
 
 #
 # macOS



More information about the vlc-commits mailing list