Added script to publish package to the Rudefox Debian repo

This commit is contained in:
B.J. Dweck 2020-10-23 12:33:24 +02:00
parent 4ac90e7e77
commit 2c6071ea79

7
publish-deb.sh Executable file
View File

@ -0,0 +1,7 @@
#!/bin/bash
USERNAME=$1
PASSWORD=$2
VERSION=$3
curl -u "$USERNAME:$PASSWORD" -H "Content-Type: multipart/form-data" --data-binary "@dist/torch-agent_${VERSION}-1_all.deb" "https://repo.rudefox.io/repository/apt-release/"