ci: need to install python pip and access as pip2

This commit is contained in:
Derrick Hammer 2023-04-23 09:11:00 -04:00
parent 47f768b20b
commit 062f5c9899
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 5 additions and 1 deletions

View File

@ -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