From 4137d798189588d6f1782a8b541f6c02eae3d610 Mon Sep 17 00:00:00 2001 From: Michael Primeaux Date: Thu, 24 Oct 2024 15:17:08 -0500 Subject: [PATCH] DEFECT: Attempt to address CI failure --- .github/workflows/release.yaml | 6 ++++-- .goreleaser.yaml | 11 ++--------- 2 files changed, 6 insertions(+), 11 deletions(-) diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml index a3817c0..a5757f2 100644 --- a/.github/workflows/release.yaml +++ b/.github/workflows/release.yaml @@ -4,7 +4,8 @@ name: release on: workflow_dispatch: push: - tags: ['v*'] + # tags: ['v*'] + tags: ['*'] permissions: contents: write @@ -17,7 +18,8 @@ jobs: env: flags: "" steps: - - if: ${{ !startsWith(github.ref, 'refs/tags/v') }}N + # - if: ${{ !startsWith(github.ref, 'refs/tags/v') }} + - if: ${{ !startsWith(github.ref, 'refs/tags/') }} #- if: ${{ startsWith(github.ref, 'refs/tags/') && contains('0123456789', github.ref | slice(10, 11)) }} run: echo "flags=--snapshot" >> $GITHUB_ENV diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 6ed2cfc..6f1257d 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -1,9 +1,4 @@ -# This is an example-real .goreleaser.yml file with some sensible defaults. -# Make sure to check the documentation at https://goreleaser.com -before: - hooks: - - go mod tidy - +# Ref: https://goreleaser.com/customization/builds/ builds: # Ref: https://goreleaser.com/errors/no-main/#if-you-are-building-a-library - skip: true @@ -19,6 +14,4 @@ changelog: - '^test:' release: - name_template: 'v{{ .Version }}' - footer: | - * * * + name_template: '{{ .Version }}'