Skip to content

Commit

Permalink
Fix release action
Browse files Browse the repository at this point in the history
  • Loading branch information
rliebz committed Aug 7, 2024
1 parent bbb8d5e commit a76bad4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,21 +5,21 @@ on:

jobs:
release:
name: Release Dry Run
name: Release
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version: "1.22.1"
go-version: "1.22.5"
- name: Release Dry Run
run: |
header='^## [0-9]+\.[0-9]+\.[0-9]+'
awk "/${header}/{if(!found){found=1;f=1}else{f=0}} f" CHANGELOG.md |
go run github.com/goreleaser/goreleaser --release-notes /dev/stdin
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_TOKEN: ${{ secrets.GH_REPO_PAT }}

docs:
name: Deploy Docs
Expand Down

0 comments on commit a76bad4

Please sign in to comment.