From 6164c8416c7c970b597c030f8b65aad6a6fb2741 Mon Sep 17 00:00:00 2001 From: Philipp Date: Thu, 2 Sep 2021 17:05:40 +0200 Subject: [PATCH] Adapt sha256 generation --- .drone.yml | 16 ++++++++++++---- 1 file changed, 12 insertions(+), 4 deletions(-) diff --git a/.drone.yml b/.drone.yml index aee6a8cc..044acce5 100644 --- a/.drone.yml +++ b/.drone.yml @@ -123,8 +123,12 @@ steps: --exclude='**/*/messages.po' -cvjf ./build/$ARTIFACT --transform "s,^addon,$RELEASE," addon/ - # calculate SHA256 checksum - - sha256sum ./build/$ARTIFACT > ./build/$ARTIFACT.sha256 - - ls -lh ./build + - cd ./build + - sha256sum "$ARTIFACT" > "$ARTIFACT.sha256" + - ls -lh + - # output the sha256 sum for checking purpose + - cat "$ARTIFACT.sha256" + - sha256sum "$ARTIFACT" - name: Upload artifacts image: alpine environment: @@ -211,8 +215,12 @@ steps: --exclude='**/*/messages.po' -cvjf ./build/$ARTIFACT --transform "s,^addon,$RELEASE," addon/ - # calculate SHA256 checksum - - sha256sum ./build/$ARTIFACT > ./build/$ARTIFACT.sha256 - - ls -lh ./build + - cd ./build + - sha256sum "$ARTIFACT" > "$ARTIFACT.sha256" + - ls -lh + - # output the sha256 sum for checking purpose + - cat "$ARTIFACT.sha256" + - sha256sum "$ARTIFACT" - name: Upload artifacts image: alpine environment: -- 2.39.5