Compare commits
No commits in common. "494d565b4ef074b3a07c1174e56d49a69e41e196" and "1bb28b5fd127abc342db3548efe3bef5cf8ed44b" have entirely different histories.
494d565b4e
...
1bb28b5fd1
1 changed files with 4 additions and 7 deletions
11
.drone.yml
11
.drone.yml
|
@ -44,12 +44,9 @@ steps:
|
|||
- apk add --update --no-cache curl jq
|
||||
- env |grep DRONE
|
||||
- |
|
||||
for package_path in /_cache/packages/* ; do \
|
||||
package_name="$(basename "$package_path")" ; \
|
||||
curl -H "Authorization: token $PACKAGE_UPLOAD_TOKEN" \
|
||||
--upload-file "$package_path" \
|
||||
"$PACKAGE_UPLOAD_URL/$DRONE_TAG/$PACKAGE_BASENAME" ; \
|
||||
done
|
||||
curl -H "Authorization: token $PACKAGE_UPLOAD_TOKEN" \
|
||||
--upload-file "/_cache/bin/$PACKAGE_BASENAME" \
|
||||
"$PACKAGE_UPLOAD_URL/$DRONE_TAG/$PACKAGE_BASENAME"
|
||||
- |
|
||||
set -x
|
||||
curl -X POST \
|
||||
|
@ -70,7 +67,7 @@ steps:
|
|||
- |
|
||||
set -x
|
||||
for package_path in /_cache/packages/* ; do \
|
||||
package_name="$(basename "$package_path")" ; \
|
||||
package_name="$(basename "$package_path")"
|
||||
curl -X POST \
|
||||
-H "Authorization: token $RELEASE_UPLOAD_TOKEN" \
|
||||
-H "accept: application/json" \
|
||||
|
|
Loading…
Add table
Reference in a new issue