Skip to content

Commit

Permalink
Attempt #1 fixing release template
Browse files Browse the repository at this point in the history
  • Loading branch information
ksamirdev committed Jul 6, 2024
1 parent 6666b4b commit 9578ee7
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/go.yml
Original file line number Diff line number Diff line change
Expand Up @@ -73,13 +73,12 @@ jobs:
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"
run: git log $(git describe HEAD~ --tags --abbrev=0)..HEAD --pretty='format:* %h %s%n * %an <%ae>' --no-merges >> "${{ github.workspace }}/RELEASE-TEMPLATE.md"

- name: Release with Notes
uses: softprops/action-gh-release@v2
with:
body_path: ".github/RELEASE-TEMPLATE.md"
draft: true
body_path: "${{ github.workspace }}/RELEASE-TEMPLATE.md"
files: ${{env.BINARY_NAME}}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 9578ee7

Please sign in to comment.