From 8ccc38c186fa633176d27bae2470a27be4c53429 Mon Sep 17 00:00:00 2001 From: Jim Myhrberg Date: Mon, 14 Nov 2022 16:45:04 +0000 Subject: [PATCH] ci: update release job to use please-release --- .github/workflows/ci.yml | 4 +++- .goreleaser.yml | 7 ++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 3135765..f5ebf18 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -25,8 +25,10 @@ jobs: name: Release runs-on: ubuntu-latest needs: [build] - if: startsWith(github.ref, 'refs/tags/v') + if: github.ref == 'refs/heads/main' steps: + - uses: google-github-actions/release-please-action@v3 + id: release-please - uses: actions/checkout@v2 with: fetch-depth: 0 diff --git a/.goreleaser.yml b/.goreleaser.yml index d6ab756..edfd9b1 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -36,12 +36,9 @@ checksum: name_template: "checksums.txt" snapshot: name_template: "{{ .Tag }}-next" + changelog: - sort: asc - filters: - exclude: - - "^docs:" - - "^test:" + skip: true dockers: - image_templates: