Merge pull request #10662 from nupplaphil/feat/drone_release_followup
Drone release fixings
This commit is contained in:
commit
c0b2f5d960
20
.drone.yml
20
.drone.yml
|
@ -343,12 +343,6 @@ node:
|
||||||
node: releaser # This prevents executing this pipeline at other servers than drone.friendi.ca
|
node: releaser # This prevents executing this pipeline at other servers than drone.friendi.ca
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone addon
|
|
||||||
image: alpine/git
|
|
||||||
commands:
|
|
||||||
- git clone https://github.com/friendica/friendica-addons ./addon
|
|
||||||
- cd ./addon
|
|
||||||
- git checkout $DRONE_REPO_BRANCH
|
|
||||||
- name: Restore cache
|
- name: Restore cache
|
||||||
image: meltwater/drone-cache:dev
|
image: meltwater/drone-cache:dev
|
||||||
settings:
|
settings:
|
||||||
|
@ -385,10 +379,10 @@ steps:
|
||||||
-cvjf ./build/$ARTIFACT
|
-cvjf ./build/$ARTIFACT
|
||||||
- # calculate SHA256 checksum
|
- # calculate SHA256 checksum
|
||||||
- cd ./build
|
- cd ./build
|
||||||
- sha256sum "$ARTIFACT" > "$ARTIFACT.sha256"
|
- sha256sum "$ARTIFACT" > "$ARTIFACT.sum256"
|
||||||
- ls -lh
|
- ls -lh
|
||||||
- # output the sha256 sum for checking
|
- # output the sha256 sum for checking
|
||||||
- cat "$ARTIFACT.sha256"
|
- cat "$ARTIFACT.sum256"
|
||||||
- sha256sum "$ARTIFACT"
|
- sha256sum "$ARTIFACT"
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
image: alpine
|
image: alpine
|
||||||
|
@ -440,12 +434,6 @@ node:
|
||||||
node: releaser # This prevents executing this pipeline at other servers than drone.friendi.ca
|
node: releaser # This prevents executing this pipeline at other servers than drone.friendi.ca
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: Clone addon
|
|
||||||
image: alpine/git
|
|
||||||
commands:
|
|
||||||
- git clone https://github.com/friendica/friendica-addons ./addon
|
|
||||||
- cd ./addon
|
|
||||||
- git checkout $DRONE_REPO_BRANCH
|
|
||||||
- name: Restore cache
|
- name: Restore cache
|
||||||
image: meltwater/drone-cache:dev
|
image: meltwater/drone-cache:dev
|
||||||
settings:
|
settings:
|
||||||
|
@ -484,10 +472,10 @@ steps:
|
||||||
-cvjf ./build/$ARTIFACT
|
-cvjf ./build/$ARTIFACT
|
||||||
- # calculate SHA256 checksum
|
- # calculate SHA256 checksum
|
||||||
- cd ./build
|
- cd ./build
|
||||||
- sha256sum "$ARTIFACT" > "$ARTIFACT.sha256"
|
- sha256sum "$ARTIFACT" > "$ARTIFACT.sum256"
|
||||||
- ls -lh
|
- ls -lh
|
||||||
- # output the sha256 sum for checking
|
- # output the sha256 sum for checking
|
||||||
- cat "$ARTIFACT.sha256"
|
- cat "$ARTIFACT.sum256"
|
||||||
- sha256sum "$ARTIFACT"
|
- sha256sum "$ARTIFACT"
|
||||||
- name: Upload artifacts
|
- name: Upload artifacts
|
||||||
image: alpine
|
image: alpine
|
||||||
|
|
Loading…
Reference in New Issue
Block a user