🔊 修复 release log 每次只生成一条的问题

This commit is contained in:
naiba 2021-11-09 10:12:47 +08:00
parent 40bace5b3d
commit 5ffa46b377
2 changed files with 12 additions and 4 deletions

View File

@ -10,14 +10,14 @@ jobs:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/checkout@master - uses: actions/checkout@master
with:
fetch-depth: 0
- uses: actions/setup-go@v2 - uses: actions/setup-go@v2
with: with:
go-version: '^1.17.2' go-version: "^1.17.2"
- name: Run GoReleaser - name: Run GoReleaser
uses: goreleaser/goreleaser-action@v2 uses: goreleaser/goreleaser-action@v2
if: startsWith(github.ref, 'refs/tags/')
with: with:
distribution: goreleaser
version: latest version: latest
args: release --rm-dist args: release --rm-dist
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

View File

@ -37,3 +37,11 @@ archives:
- none* - none*
changelog: changelog:
sort: asc sort: asc
filters:
exclude:
- "^docs:"
- "^test:"
- "^chore"
- Merge pull request
- Merge branch
- go mod tidy