ignore release-notes.md to avoid dirty check in goreleaser
This commit is contained in:
parent
06bf92c0fc
commit
225405c565
2 changed files with 5 additions and 2 deletions
4
.github/workflows/release.yml
vendored
4
.github/workflows/release.yml
vendored
|
@ -32,12 +32,12 @@ jobs:
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||||
with:
|
with:
|
||||||
outputFile: release-notes.md
|
outputFile: .release-notes.md
|
||||||
- name: GoReleaser
|
- name: GoReleaser
|
||||||
uses: goreleaser/goreleaser-action@v3
|
uses: goreleaser/goreleaser-action@v3
|
||||||
with:
|
with:
|
||||||
version: latest
|
version: latest
|
||||||
args: release --rm-dist --release-notes=release-notes.md
|
args: release --rm-dist --release-notes=.release-notes.md
|
||||||
env:
|
env:
|
||||||
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
|
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
|
||||||
- name: Chocolatey
|
- name: Chocolatey
|
||||||
|
|
3
.gitignore
vendored
3
.gitignore
vendored
|
@ -31,3 +31,6 @@ coverage.txt
|
||||||
|
|
||||||
# megalinter
|
# megalinter
|
||||||
report/
|
report/
|
||||||
|
|
||||||
|
# generated release notes
|
||||||
|
.release-notes.md
|
||||||
|
|
Loading…
Reference in a new issue