From 2c6071ea7973d94ee0c07c549c57fac44d64ee82 Mon Sep 17 00:00:00 2001 From: Benjamin Dweck Date: Fri, 23 Oct 2020 12:33:24 +0200 Subject: [PATCH] Added script to publish package to the Rudefox Debian repo --- publish-deb.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100755 publish-deb.sh diff --git a/publish-deb.sh b/publish-deb.sh new file mode 100755 index 0000000..28687fd --- /dev/null +++ b/publish-deb.sh @@ -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/"