[vlc-commits] CI: Enable checksum generation for nightly artifacts

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


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

CI: Enable checksum generation for nightly artifacts

(cherry picked from commit 574c4e8936af38aa4b884793ae175940133be79e)

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

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

diff --git a/extras/ci/gitlab-ci.yml b/extras/ci/gitlab-ci.yml
index 0be33f21cd..34a0785d2d 100644
--- a/extras/ci/gitlab-ci.yml
+++ b/extras/ci/gitlab-ci.yml
@@ -116,6 +116,7 @@ win64:
         - mkdir nightlies
         - for ext in 7z zip; do mv ${SHORTARCH}/vlc-*-debug.${ext} nightlies/$(basename ${SHORTARCH}/vlc-*-debug.${ext} | sed "s/\.${ext}/-${CI_COMMIT_SHORT_SHA}\.${ext}/"); done
         - for ext in exe msi 7z zip; do mv ${SHORTARCH}/vlc-*.${ext} nightlies/$(basename ${SHORTARCH}/vlc-*.${ext} | sed "s/\.${ext}/-${CI_COMMIT_SHORT_SHA}\.${ext}/"); done
+        - cd nightlies && find . -maxdepth 1 -type f -not -name SHA512SUM | xargs shasum -a 512 | tee SHA512SUM
     artifacts:
         paths:
             - nightlies/*
@@ -210,6 +211,7 @@ nightly-snap:
         - echo $SNAP_LOGIN | base64 --decode | snapcraft login --with -
         - snapcraft push nightlies/vlc_*.snap --release beta
         - snapcraft logout
+        - cd nightlies && find . -maxdepth 1 -type f -not -name SHA512SUM | xargs shasum -a 512 | tee SHA512SUM
     artifacts:
         paths:
            - nightlies/*
@@ -245,6 +247,7 @@ nightly-macos:
     after_script:
         - mkdir nightlies
         - mv build/vlc-*.dmg nightlies/$(basename build/vlc-*.dmg | sed "s/\.dmg/-${CI_COMMIT_SHORT_SHA}\.dmg/")
+        - cd nightlies && find . -maxdepth 1 -type f -not -name SHA512SUM | xargs shasum -a 512 | tee SHA512SUM
     artifacts:
         paths:
             - nightlies/*



More information about the vlc-commits mailing list