From b241ec7c3280d1c77c714c59c7d6d9be7c7de4b6 Mon Sep 17 00:00:00 2001 From: gotbadger Date: Tue, 14 May 2024 15:30:41 +0100 Subject: [PATCH] ci: try and fix goreleaser to older version to fix release issue --- .github/actions/linux-build/Dockerfile | 2 +- .github/workflows/canary.yml | 6 +++--- .github/workflows/release.yml | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/actions/linux-build/Dockerfile b/.github/actions/linux-build/Dockerfile index 031899221..97301bf13 100644 --- a/.github/actions/linux-build/Dockerfile +++ b/.github/actions/linux-build/Dockerfile @@ -22,7 +22,7 @@ RUN apt-get update && \ tar --extract --gunzip --file=/tmp/go.tar.gz --directory=/usr/local && \ ln -s /usr/local/go/bin/go /usr/local/bin/ && \ \ - wget --output-document=/tmp/goreleaser.deb https://github.com/goreleaser/goreleaser-pro/releases/download/v1.26.0-pro/goreleaser-pro_1.26.0.pro_amd64.deb && \ + wget --output-document=/tmp/goreleaser.deb https://github.com/goreleaser/goreleaser-pro/releases/download/v1.25.0-pro/goreleaser-pro_1.25.0.pro_amd64.deb && \ dpkg --install /tmp/goreleaser.deb COPY entrypoint.sh /entrypoint.sh diff --git a/.github/workflows/canary.yml b/.github/workflows/canary.yml index 4b8640699..6867ad098 100644 --- a/.github/workflows/canary.yml +++ b/.github/workflows/canary.yml @@ -23,7 +23,7 @@ jobs: github_token: ${{ secrets.GITHUB_TOKEN }} tag_prefix: v default_bump: patch - release_branches: "" + release_branches: "no-branch" pre_release_branches: ".*" append_to_pre_release_tag: "rc" outputs: @@ -100,7 +100,7 @@ jobs: name: Run GoReleaser with: distribution: goreleaser-pro - version: 1.26.0 + version: 1.25.0 args: release --clean --split -f ./.goreleaser/canary.yaml env: GOOS: darwin @@ -137,7 +137,7 @@ jobs: uses: goreleaser/goreleaser-action@v5 with: distribution: goreleaser-pro - version: 1.26.0 + version: 1.25.0 args: publish --merge env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index a5bef26d5..1dde10913 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -104,7 +104,7 @@ jobs: name: Run GoReleaser with: distribution: goreleaser-pro - version: 1.26.0 + version: 1.25.0 args: release --clean --split env: GOOS: darwin @@ -141,7 +141,7 @@ jobs: uses: goreleaser/goreleaser-action@v5 with: distribution: goreleaser-pro - version: 1.26.0 + version: 1.25.0 args: continue --merge env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}