Adapt sha256 generation

This commit is contained in:
Philipp Holzer 2021-09-02 17:05:40 +02:00
parent f51828c996
commit 6164c8416c
No known key found for this signature in database
GPG Key ID: 9A28B7D4FF5667BD
1 changed files with 12 additions and 4 deletions

View File

@ -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: