From: Philipp Date: Thu, 2 Sep 2021 15:05:40 +0000 (+0200) Subject: Adapt sha256 generation X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6164c8416c7c970b597c030f8b65aad6a6fb2741;p=friendica-addons.git Adapt sha256 generation --- 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: