diff --git a/ci/publish.sh b/ci/publish.sh index e718946..754a7ca 100755 --- a/ci/publish.sh +++ b/ci/publish.sh @@ -4,9 +4,11 @@ if ! command -v go &>/dev/null; then sudo apt-get update && sudo apt-get install -y golang fi -go install github.com/goreleaser/nfpm/v2/cmd/nfpm@latest +sudo go install github.com/goreleaser/nfpm/v2/cmd/nfpm@latest +sudo chmod +x /root/go/bin/nfpm yq -i ".version=\"${1}\"" nfpm.yaml -nfpm package -p deb +sudo /root/go/bin/nfpm package -p deb + pip install --upgrade cloudsmith-cli cloudsmith push deb lumeweb/lume-web-relay *.deb