forked from friendica/friendica-addons
Adapt sha256 generation
This commit is contained in:
parent
f51828c996
commit
6164c8416c
16
.drone.yml
16
.drone.yml
|
@ -123,8 +123,12 @@ steps:
|
||||||
--exclude='**/*/messages.po'
|
--exclude='**/*/messages.po'
|
||||||
-cvjf ./build/$ARTIFACT --transform "s,^addon,$RELEASE," addon/
|
-cvjf ./build/$ARTIFACT --transform "s,^addon,$RELEASE," addon/
|
||||||
- # calculate SHA256 checksum
|
- # calculate SHA256 checksum
|
||||||
- sha256sum ./build/$ARTIFACT > ./build/$ARTIFACT.sha256
|
- cd ./build
|
||||||
- ls -lh ./build
|
- sha256sum "$ARTIFACT" > "$ARTIFACT.sha256"
|
||||||
|
- ls -lh
|
||||||
|
- # output the sha256 sum for checking purpose
|
||||||
|
- cat "$ARTIFACT.sha256"
|
||||||
|
- sha256sum "$ARTIFACT"
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
image: alpine
|
image: alpine
|
||||||
environment:
|
environment:
|
||||||
|
@ -211,8 +215,12 @@ steps:
|
||||||
--exclude='**/*/messages.po'
|
--exclude='**/*/messages.po'
|
||||||
-cvjf ./build/$ARTIFACT --transform "s,^addon,$RELEASE," addon/
|
-cvjf ./build/$ARTIFACT --transform "s,^addon,$RELEASE," addon/
|
||||||
- # calculate SHA256 checksum
|
- # calculate SHA256 checksum
|
||||||
- sha256sum ./build/$ARTIFACT > ./build/$ARTIFACT.sha256
|
- cd ./build
|
||||||
- ls -lh ./build
|
- sha256sum "$ARTIFACT" > "$ARTIFACT.sha256"
|
||||||
|
- ls -lh
|
||||||
|
- # output the sha256 sum for checking purpose
|
||||||
|
- cat "$ARTIFACT.sha256"
|
||||||
|
- sha256sum "$ARTIFACT"
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
image: alpine
|
image: alpine
|
||||||
environment:
|
environment:
|
||||||
|
|
Loading…
Reference in a new issue