fix apt upload script
This commit is contained in:
parent
b27f378b5e
commit
443f51525b
2 changed files with 4 additions and 3 deletions
|
@ -1,5 +1,6 @@
|
|||
#!/bin/sh
|
||||
|
||||
for deb in "$@" ; do
|
||||
curl -H "Authorization: token $FORGEJO_KEY" --upload-file $deb $FORGEJO_SITE/api/packages/$FORGEJO_OWNER/debian/pool/$DEBIAN_DIST/$DEBIAN_COMPONENT/upload
|
||||
curl -X PUT -H "Authorization: token $FORGEJO_KEY" -T "$deb" $FORGEJO_SITE/api/packages/$FORGEJO_OWNER/debian/pool/$DEBIAN_DIST/$DEBIAN_COMPONENT/upload
|
||||
exit $?
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue