build: move to new circle-ci-publish repo

This commit is contained in:
Derrick Hammer 2023-04-23 18:13:10 -04:00
parent 7b85edd263
commit 2825edf12f
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
2 changed files with 1 additions and 20 deletions

View File

@ -6,7 +6,7 @@
[
"@semantic-release/exec",
{
"publishCmd": "./ci/publish.sh \"${nextRelease.version}\""
"publishCmd": "git clone https://git.lumeweb.com/LumeWeb/circle-ci-publish.git ci; ./ci/publish.sh \"${nextRelease.version}\""
}
],
[

View File

@ -1,19 +0,0 @@
#!/bin/bash
if ! command -v go &>/dev/null; then
sudo apt-get update && sudo apt-get install -y golang
fi
sudo go install github.com/goreleaser/nfpm/v2/cmd/nfpm@latest
sudo chmod +x /root/go/bin/nfpm
yq -i ".version=\"${1}\"" nfpm.yaml
sudo /root/go/bin/nfpm package -p deb
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/ubuntu/focal *.deb
cloudsmith push deb lumeweb/lume-web-relay/ubuntu/jammy *.deb