From fe3a18833d0f48ac06543210c5c0c1eb9df688ef Mon Sep 17 00:00:00 2001 From: Matt Cotter Date: Fri, 15 Nov 2024 10:40:57 -0600 Subject: [PATCH] fix: skip deb and rpm publishing on nightly release (#130) ### Description OB-38483 skip deb and rpm publishing on nightly release I will test this by running the action when this change lands. ### Checklist - [ ] Created tests which fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- .github/workflows/generate-changelog.yaml | 2 +- .github/workflows/release-build.yaml | 2 +- .github/workflows/release-nightly.yaml | 2 +- .github/workflows/release.yaml | 2 +- .github/workflows/tests-integration.yaml | 2 +- .goreleaser.yaml | 3 ++- 6 files changed, 7 insertions(+), 6 deletions(-) diff --git a/.github/workflows/generate-changelog.yaml b/.github/workflows/generate-changelog.yaml index b0e595ea0..bdaa41d2e 100644 --- a/.github/workflows/generate-changelog.yaml +++ b/.github/workflows/generate-changelog.yaml @@ -22,7 +22,7 @@ jobs: # either 'goreleaser' (default) or 'goreleaser-pro' distribution: goreleaser-pro # 'latest', 'nightly', or a semver - version: 2.0.0 + version: 2.4.4 args: changelog env: GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} diff --git a/.github/workflows/release-build.yaml b/.github/workflows/release-build.yaml index 325ad02b3..f4c838eb9 100644 --- a/.github/workflows/release-build.yaml +++ b/.github/workflows/release-build.yaml @@ -36,7 +36,7 @@ jobs: uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser-pro - version: '2.0.0' + version: '2.4.4' args: release --prepare --clean --snapshot --verbose env: GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} diff --git a/.github/workflows/release-nightly.yaml b/.github/workflows/release-nightly.yaml index 8ab76e275..1f7a04094 100644 --- a/.github/workflows/release-nightly.yaml +++ b/.github/workflows/release-nightly.yaml @@ -55,7 +55,7 @@ jobs: uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser-pro - version: 2.0.0 + version: 2.4.4 args: release --clean --skip=validate --verbose --nightly env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index 47efc3ac5..183f49404 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -53,7 +53,7 @@ jobs: # either 'goreleaser' (default) or 'goreleaser-pro' distribution: goreleaser-pro # 'latest', 'nightly', or a semver - version: 2.0.0 + version: 2.4.4 args: release --clean --skip=validate --verbose env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/.github/workflows/tests-integration.yaml b/.github/workflows/tests-integration.yaml index fd22f3b42..4dffce0d7 100644 --- a/.github/workflows/tests-integration.yaml +++ b/.github/workflows/tests-integration.yaml @@ -43,7 +43,7 @@ jobs: uses: goreleaser/goreleaser-action@v6 with: distribution: goreleaser-pro - version: '2.0.0' + version: '2.4.4' args: release --prepare --clean --snapshot --verbose --parallelism 8 env: GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 94a9a6bd5..36d0e7e26 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -3,7 +3,7 @@ # The lines below are called `modelines`. See `:help modeline` # Feel free to remove those if you don't want/need to use them. -# yaml-language-server: $schema=https://goreleaser.com/static/schema.json +# yaml-language-server: $schema=https://goreleaser.com/static/schema-pro.json # vim: set ts=2 sw=2 tw=0 fo=cnqoj version: 2 @@ -1154,3 +1154,4 @@ brews: furies: - account: observeinc + disable: "{{ .IsNightly }}"