From 574c4e8936af38aa4b884793ae175940133be79e Mon Sep 17 00:00:00 2001 From: Konstantin Pavlov <thresh@videolan.org> Date: Sun, 5 Apr 2020 16:11:53 +0300 Subject: [PATCH] CI: Enable checksum generation for nightly artifacts --- 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 7b39f53e7c24..8e3d0f33432c 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/* -- GitLab