From 2825edf12f5a511705feb271b5d9b7d3d0cb311f Mon Sep 17 00:00:00 2001 From: Derrick Hammer Date: Sun, 23 Apr 2023 18:13:10 -0400 Subject: [PATCH] build: move to new circle-ci-publish repo --- .releaserc | 2 +- ci/publish.sh | 19 ------------------- 2 files changed, 1 insertion(+), 20 deletions(-) delete mode 100755 ci/publish.sh diff --git a/.releaserc b/.releaserc index e661e1e..5a67619 100644 --- a/.releaserc +++ b/.releaserc @@ -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}\"" } ], [ diff --git a/ci/publish.sh b/ci/publish.sh deleted file mode 100755 index dbaa9ba..0000000 --- a/ci/publish.sh +++ /dev/null @@ -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