Skip to content

Commit

Permalink
goreleaser settings
Browse files Browse the repository at this point in the history
  • Loading branch information
mpapenbr committed Nov 26, 2023
1 parent 9d37dcf commit 6c091ed
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,9 @@ on:
jobs:
goreleaser:
runs-on: windows-latest
permissions:
contents: write
pull-requests: write
steps:
- uses: actions/checkout@v4

Expand All @@ -30,13 +33,14 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: prepare changlog
shell: bash
run: |
echo "${{ steps.rd.outputs.body }}" > /tmp/CHANGELOG.md
echo "${{ steps.rd.outputs.body }}" > CHANGELOG-tmp.md
- name: Release via goreleaser
uses: goreleaser/goreleaser-action@v5
with:
args: release --release-notes=/tmp/CHANGELOG.md
args: release --release-notes=CHANGELOG-tmp.md
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit 6c091ed

Please sign in to comment.