ignore release-notes.md to avoid dirty check in goreleaser

This commit is contained in:
Casey Lee 2022-06-20 16:53:20 -07:00
parent 06bf92c0fc
commit 225405c565
2 changed files with 5 additions and 2 deletions

View file

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

@ -31,3 +31,6 @@ coverage.txt
# megalinter # megalinter
report/ report/
# generated release notes
.release-notes.md