Added script to publish package to the Rudefox Debian repo

master
B.J. Dweck 2020-10-23 12:33:24 +02:00
parent 4ac90e7e77
commit 2c6071ea79
1 changed files with 7 additions and 0 deletions

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/"