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

Konstantin Pavlov git at videolan.org
Sun Apr 5 15:59:26 CEST 2020


vlc | branch: master | Konstantin Pavlov <thresh at videolan.org> | Sun Apr  5 16:03:53 2020 +0300| [202e8bb13821376bfb358b61af06b901bcc90c98] | committer: Konstantin Pavlov

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

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=202e8bb13821376bfb358b61af06b901bcc90c98
---

 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 e3fa3efd5a..7b39f53e7c 100644
--- a/extras/ci/gitlab-ci.yml
+++ b/extras/ci/gitlab-ci.yml
@@ -234,13 +234,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 edge
+        - snapcraft push nightlies/vlc_*.snap --release edge
         - snapcraft logout
     artifacts:
         paths:
-           - extras/package/snap/vlc_*.snap
+           - nightlies/*
 
 #
 # Raspbian



More information about the vlc-commits mailing list