vlc | branch: master | Konstantin Pavlov <[email protected]> | 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/*

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

Reply via email to