Skip to content

Commit

Permalink
ignore release-notes.md to avoid dirty check in goreleaser
Browse files Browse the repository at this point in the history
  • Loading branch information
cplee committed Jun 20, 2022
1 parent 06bf92c commit 225405c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,12 +32,12 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
outputFile: release-notes.md
outputFile: .release-notes.md
- name: GoReleaser
uses: goreleaser/goreleaser-action@v3
with:
version: latest
args: release --rm-dist --release-notes=release-notes.md
args: release --rm-dist --release-notes=.release-notes.md
env:
GITHUB_TOKEN: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
- name: Chocolatey
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -31,3 +31,6 @@ coverage.txt

# megalinter
report/

# generated release notes
.release-notes.md

0 comments on commit 225405c

Please sign in to comment.