Compare commits

..

No commits in common. "09567fb868d5f6acb9956d4efcff86f8001091de" and "a0790005d0267d2573193d316a2788142e716414" have entirely different histories.

View file

@ -44,12 +44,9 @@ 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 \ curl -H "Authorization: token $PACKAGE_UPLOAD_TOKEN" \
package_name="$(basename "$package_path")" ; \ --upload-file "/_cache/bin/$PACKAGE_BASENAME" \
curl -H "Authorization: token $PACKAGE_UPLOAD_TOKEN" \ "$PACKAGE_UPLOAD_URL/$DRONE_TAG/$PACKAGE_BASENAME"
--upload-file "$package_path" \
"$PACKAGE_UPLOAD_URL/$DRONE_TAG/$PACKAGE_BASENAME" ; \
done
- | - |
set -x set -x
curl -X POST \ curl -X POST \
@ -70,7 +67,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" \