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

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


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

CI: Enable checksum generation for nightly artifacts

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

 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 7b39f53e7c..8e3d0f3343 100644
--- a/extras/ci/gitlab-ci.yml
+++ b/extras/ci/gitlab-ci.yml
@@ -139,6 +139,7 @@ win64-llvm:
         - mkdir nightlies
         - for ext in 7z zip; do mv ${SHORTARCH}/vlc-*-dev-*-debug.${ext} nightlies/$(basename ${SHORTARCH}/vlc-*-dev-*-debug.${ext} | sed "s/\.${ext}/-${CI_COMMIT_SHORT_SHA}\.${ext}/"); done
         - for ext in exe msi 7z zip; do mv ${SHORTARCH}/vlc-*-dev-*.${ext} nightlies/$(basename ${SHORTARCH}/vlc-*-dev-*.${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/*
@@ -239,6 +240,7 @@ nightly-snap:
         - echo $SNAP_LOGIN | base64 --decode | snapcraft login --with -
         - snapcraft push nightlies/vlc_*.snap --release edge
         - snapcraft logout
+        - cd nightlies && find . -maxdepth 1 -type f -not -name SHA512SUM | xargs shasum -a 512 | tee SHA512SUM
     artifacts:
         paths:
            - nightlies/*
@@ -290,6 +292,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