build: move to new circle-ci-publish repo
This commit is contained in:
parent
7b85edd263
commit
2825edf12f
|
@ -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}\""
|
||||
}
|
||||
],
|
||||
[
|
||||
|
|
|
@ -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
|
Loading…
Reference in New Issue