Skip to content

Commit

Permalink
Try another releaser
Browse files Browse the repository at this point in the history
  • Loading branch information
AbdeltwabMF committed Mar 16, 2024
1 parent 3adba0a commit f5bd648
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -82,10 +82,15 @@ jobs:
run: |
go build -o "$BINARY_NAME" -v -ldflags "-H windowsgui -s -w"
- 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: ncipollo/release-action@v1
uses: softprops/action-gh-release@v1
with:
artifacts: ${{ env.BINARY_NAME }}
name: ${{ github.ref_name }}
makeLatest: true
generateReleaseNotes: true
body_path: ".github/RELEASE-TEMPLATE.md"
draft: true
files: ${{ env.BINARY_NAME }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit f5bd648

Please sign in to comment.