ci: update release job to use please-release

This commit is contained in:
2022-11-14 16:45:04 +00:00
parent 84da611833
commit 8ccc38c186
2 changed files with 5 additions and 6 deletions

View File

@@ -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

View File

@@ -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: