Hugo Beauzée-Luyssen pushed to branch master at VideoLAN / VLC


Commits:
5d5282c2 by Marvin Scholz at 2021-09-28T07:13:07+00:00
CI: verify and add SHA512SUM to contribs

The SHA512SUM will be used on artifacts.v.o to verify that
the uploaded file did not get corrupted.

- - - - -


1 changed file:

- extras/ci/gitlab-ci.yml


Changes:

=====================================
extras/ci/gitlab-ci.yml
=====================================
@@ -10,6 +10,7 @@ default:
     after_script:
         - export VLC_CONTRIB_SHA="$(extras/ci/get-contrib-sha.sh)"
         - mv contrib/vlc-contrib-*.tar.bz2 
contrib/vlc-contrib-${TRIPLET}-${VLC_CONTRIB_SHA}.tar.bz2 2>/dev/null || true
+        - cd contrib && find . -maxdepth 1 -type f -name 
"vlc-contrib-*-${VLC_CONTRIB_SHA}.tar.bz2" -exec sh -c 'tar tvf "$0" && shasum 
-a 512 "$0" | tee SHA512SUM' "{}" \;
 
 variables:
     VLC_WIN32_IMAGE: registry.videolan.org/vlc-debian-win32:20201106141924
@@ -120,6 +121,7 @@ variables:
     artifacts:
         paths:
             - contrib/vlc-contrib-${TRIPLET}-*.tar.bz2
+            - contrib/SHA512SUM
 
 # Common rules for jobs using docker
 .docker-template:



View it on GitLab: 
https://code.videolan.org/videolan/vlc/-/commit/5d5282c2df30f8efe1be6fee938acf174fdf5f08

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


_______________________________________________
vlc-commits mailing list
[email protected]
https://mailman.videolan.org/listinfo/vlc-commits

Reply via email to