Adapt sha256 generation
This commit is contained in:
parent
f51828c996
commit
6164c8416c
1 changed files with 12 additions and 4 deletions
16
.drone.yml
16
.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:
|
||||
|
|
Loading…
Reference in a new issue