Reengineed the code. Generalized the package. Cloud configurators are modules.

This commit is contained in:
2026-08-10 09:02:45 +02:00
parent be4bb34bb0
commit 083ad9a596
40 changed files with 2367 additions and 650 deletions
Regular → Executable
+13 -1
View File
@@ -1,3 +1,15 @@
#!/bin/sh
set -e
VERSION="$(dpkg-parsechangelog --show-field Version -l debian/changelog)"
PACKAGE="$(dpkg-parsechangelog --show-field Source -l debian/changelog)"
DEB="out/${PACKAGE}_${VERSION}_all.deb"
if [ ! -f "$DEB" ]; then
printf 'ERROR: %s does not exist. Run ./build.sh first.\n' "$DEB" >&2
exit 1
fi
curl -v --user "slawek:$(cat ~/.gitea-packages-token)" \
--upload-file out/cloud-router_1.0.0-1_all.deb \
--upload-file "$DEB" \
"https://gitea.koszewscy.waw.pl/api/packages/slawek/debian/pool/noble/main/upload"