Skip to content

Commit

Permalink
delete latest package version first
Browse files Browse the repository at this point in the history
  • Loading branch information
chdorner committed Oct 25, 2024
1 parent afd2e5b commit da32b44
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions .woodpecker/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ steps:
--upload-file build/zaphod/zephyr/zmk.uf2 \
https://git.chdorner.com/api/packages/chdorner/generic/panic34/${CI_COMMIT_SHA}/zaphod.uf2 \
&& echo "created package version ${CI_COMMIT_SHA}"
- |
curl -sS --user chdorner:$FORGEJO_TOKEN_CHDORNER_PACKAGE_WRITE -X DELETE \
"https://git.chdorner.com/api/packages/chdorner/generic/panic34/latest"
- |
curl -sSf --user chdorner:$FORGEJO_TOKEN_CHDORNER_PACKAGE_WRITE \
--upload-file build/zaphod/zephyr/zmk.uf2 \
Expand Down

0 comments on commit da32b44

Please sign in to comment.