feat: rework repo format

This commit is contained in:
Georg K
2023-01-06 03:06:42 +03:00
parent 12ff670210
commit 3984ac3bc7
6 changed files with 3 additions and 1 deletions

9
build/upload.sh Normal file
View File

@@ -0,0 +1,9 @@
#!/bin/bash
set -e
DEB_REPO=${DEB_REPO:-"https://nexus.connectone.pro/repository/radius/"}
for file in *.deb
do
curl -u "${DEB_USER}:${DEB_PASS}" -H "Content-Type: multipart/form-data" --data-binary "@./$file" "${DEB_REPO}"
done; # file