Merge branch 'release/v0.1.3'
Some checks failed
continuous-integration/drone/push Build is passing
continuous-integration/drone Build is failing

This commit is contained in:
Glenn Y. Rolland 2023-12-27 11:33:55 +01:00
commit 09567fb868

View file

@ -44,9 +44,12 @@ steps:
- apk add --update --no-cache curl jq - apk add --update --no-cache curl jq
- env |grep DRONE - env |grep DRONE
- | - |
for package_path in /_cache/packages/* ; do \
package_name="$(basename "$package_path")" ; \
curl -H "Authorization: token $PACKAGE_UPLOAD_TOKEN" \ curl -H "Authorization: token $PACKAGE_UPLOAD_TOKEN" \
--upload-file "/_cache/bin/$PACKAGE_BASENAME" \ --upload-file "$package_path" \
"$PACKAGE_UPLOAD_URL/$DRONE_TAG/$PACKAGE_BASENAME" "$PACKAGE_UPLOAD_URL/$DRONE_TAG/$PACKAGE_BASENAME" ; \
done
- | - |
set -x set -x
curl -X POST \ curl -X POST \
@ -67,7 +70,7 @@ steps:
- | - |
set -x set -x
for package_path in /_cache/packages/* ; do \ for package_path in /_cache/packages/* ; do \
package_name="$(basename "$package_path")" package_name="$(basename "$package_path")" ; \
curl -X POST \ curl -X POST \
-H "Authorization: token $RELEASE_UPLOAD_TOKEN" \ -H "Authorization: token $RELEASE_UPLOAD_TOKEN" \
-H "accept: application/json" \ -H "accept: application/json" \