From 062f5c989900837d6a86ce9aa9b5cc8eacb10a12 Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 23 Apr 2023 09:11:00 -0400 Subject: [PATCH] ci: need to install python pip and access as pip2 --- ci/publish.sh | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/ci/publish.sh b/ci/publish.sh index 754a7ca..66d84e3 100755 --- a/ci/publish.sh +++ b/ci/publish.sh @@ -10,5 +10,9 @@ sudo chmod +x /root/go/bin/nfpm yq -i ".version=\"${1}\"" nfpm.yaml sudo /root/go/bin/nfpm package -p deb -pip install --upgrade cloudsmith-cli +if ! command -v pip &>/dev/null; then + sudo apt-get update && sudo apt-get install -y python-pip +fi + +pip2 install --upgrade cloudsmith-cli cloudsmith push deb lumeweb/lume-web-relay *.deb