DELETE first
This commit is contained in:
parent
9cb0e7346b
commit
eb61fdb757
@ -86,20 +86,28 @@ jobs:
|
||||
OWNER: justin
|
||||
VERSION: 0.0.1
|
||||
run: |
|
||||
# charmite_darwin_amd64
|
||||
curl -D- -s -X DELETE "$GITEA_API_URL/packages/$OWNER/generic/charmite/$VERSION/charmite_darwin_amd64" \
|
||||
-H "Authorization: token $GITEA_TOKEN"
|
||||
|
||||
curl -D- -s -X PUT "$GITEA_API_URL/packages/$OWNER/generic/charmite/$VERSION/charmite_darwin_amd64" \
|
||||
-H "Authorization: token $GITEA_TOKEN" \
|
||||
-H "Content-Type: application/octet-stream" \
|
||||
--data-binary @charmite_darwin_amd64
|
||||
|
||||
curl -D- -s -X PUT "$GITEA_API_URL/packages/$OWNER/generic/charmite/$VERSION/charmite_darwin_arm64" \
|
||||
-H "Authorization: token $GITEA_TOKEN" \
|
||||
-H "Content-Type: application/octet-stream" \
|
||||
--data-binary @charmite_darwin_arm64
|
||||
|
||||
curl -D- -s -X PUT "$GITEA_API_URL/packages/$OWNER/generic/charmite/$VERSION/charmite_linux_amd64" \
|
||||
-H "Authorization: token $GITEA_TOKEN" \
|
||||
-H "Content-Type: application/octet-stream" \
|
||||
--data-binary @charmite_linux_amd64
|
||||
|
||||
curl -D- -s -X PUT "$GITEA_API_URL/packages/$OWNER/generic/charmite/$VERSION/charmite_windows_amd64.exe" \
|
||||
-H "Authorization: token $GITEA_TOKEN" \
|
||||
-H "Content-Type: application/octet-stream" \
|
||||
--data-binary @charmite_windows_amd64.exe
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user