Skip to content

Commit

Permalink
Attempt #6 of fixing release action
Browse files Browse the repository at this point in the history
  • Loading branch information
ksamirdev committed Jul 6, 2024
1 parent e9aee97 commit 6666b4b
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
branches: ["main"]

permissions:
contents: read
contents: write

# allows access to pull requests
pull-requests: read
Expand Down Expand Up @@ -71,8 +71,10 @@ jobs:
echo "GOARCH=$GOARCH" >> $GITHUB_ENV
- name: Build
run: go build -o "$BINARY_NAME" ./.../go-lrc

- name: Release Notes
run: git log $(git describe HEAD~ --tags --abbrev=0)..HEAD --pretty='format:* %h %s%n * %an <%ae>' --no-merges >> ".github/RELEASE-TEMPLATE.md"

- name: Release with Notes
uses: softprops/action-gh-release@v2
with:
Expand Down

0 comments on commit 6666b4b

Please sign in to comment.