[vlc-commits] [Git][videolan/vlc][master] snap: fix snap package upload

Jean-Baptiste Kempf (@jbk) gitlab at videolan.org
Wed Dec 3 09:04:33 UTC 2025



Jean-Baptiste Kempf pushed to branch master at VideoLAN / VLC


Commits:
005d1ba3 by Pierre Lamot at 2025-12-03T09:21:37+01:00
snap: fix snap package upload

`snapcraft login --with` and `snapcraft push` are deprecated

```
$ echo $SNAP_LOGIN | base64 --decode | snapcraft login --with -
--with is no longer supported, export the auth to the environment variable 'SNAPCRAFT_STORE_CREDENTIALS' instead
Login successful
$ snapcraft push nightlies/vlc_*.snap --release edge
The 'push' command was renamed to 'upload'. Use 'upload' instead. The old name will be removed in a future release.
Credentials are no longer valid for the Snap Store.
```

when using SNAPCRAFT_STORE_CREDENTIALS environment variable, login and logout
aren't necessary

- - - - -


1 changed file:

- extras/ci/gitlab-ci.yml


Changes:

=====================================
extras/ci/gitlab-ci.yml
=====================================
@@ -436,9 +436,7 @@ nightly-snap:
         - if [ "$CI_PROJECT_NAMESPACE" = "videolan" ]; then /bin/true; else exit 0; fi
         - mkdir nightlies
         - mv vlc_*.snap nightlies/
-        - echo $SNAP_LOGIN | base64 --decode | snapcraft login --with -
-        - snapcraft push nightlies/vlc_*.snap --release edge
-        - snapcraft logout
+        - snapcraft upload --release edge nightlies/vlc_*.snap
         - cd nightlies && find . -maxdepth 1 -type f -not -name SHA512SUM | xargs shasum -a 512 | tee SHA512SUM
     artifacts:
         paths:



View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/005d1ba347c3bfb992d9a766e3be12de78e4fde7

-- 
View it on GitLab: https://code.videolan.org/videolan/vlc/-/commit/005d1ba347c3bfb992d9a766e3be12de78e4fde7
You're receiving this email because of your account on code.videolan.org.


VideoLAN code repository instance


More information about the vlc-commits mailing list