From 4927d4b03f961d164fdce01f9bd0ad192b1e60ee Mon Sep 17 00:00:00 2001 From: Morgan Date: Wed, 23 Oct 2024 22:16:00 +0200 Subject: [PATCH] ci: fixup goreleaser workflow, again (#3008)
Contributors' checklist... - [ ] Added new tests, or not needed, or not feasible - [ ] Provided an example (e.g. screenshot) to aid review or the PR is self-explanatory - [ ] Updated the official documentation or not needed - [ ] No breaking changes were made, or a `BREAKING CHANGE: xxx` message was included in the description - [ ] Added references to related issues and PRs - [ ] Provided any useful hints for running manual tests
Co-authored-by: Sergio Maria Matone --- .github/goreleaser.yaml | 2 +- .github/workflows/releaser-nightly.yml | 2 +- .github/workflows/releaser.yml | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/goreleaser.yaml b/.github/goreleaser.yaml index e2a91ef7ea6..b5fb07d0578 100644 --- a/.github/goreleaser.yaml +++ b/.github/goreleaser.yaml @@ -703,7 +703,7 @@ nightly: tag_name: nightly publish_release: true keep_single_release: true - name_template: "{{ incpatch .Version }}-{{ .ShortCommit }}-{{ .Env.TAG_VERSION }}" + version_template: "{{ incpatch .Version }}-{{ .ShortCommit }}-{{ .Env.TAG_VERSION }}" git: ignore_tag_prefixes: diff --git a/.github/workflows/releaser-nightly.yml b/.github/workflows/releaser-nightly.yml index b53772f5951..314c25e3580 100644 --- a/.github/workflows/releaser-nightly.yml +++ b/.github/workflows/releaser-nightly.yml @@ -39,7 +39,7 @@ jobs: with: distribution: goreleaser-pro version: ~> v2 - args: release --clean --nightly --config ./.github/goreleaser.yaml + args: release --clean --nightly --skip=validate --snapshot --config ./.github/goreleaser.yaml env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }} diff --git a/.github/workflows/releaser.yml b/.github/workflows/releaser.yml index 4fb3c279b1f..057951dbf31 100644 --- a/.github/workflows/releaser.yml +++ b/.github/workflows/releaser.yml @@ -39,7 +39,7 @@ jobs: with: distribution: goreleaser-pro version: ~> v2 - args: release --clean --config ./.github/goreleaser.yaml + args: release --clean --snapshot --config ./.github/goreleaser.yaml env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} GORELEASER_KEY: ${{ secrets.GORELEASER_KEY }}