Skip to content

Commit

Permalink
output update information
Browse files Browse the repository at this point in the history
  • Loading branch information
Cp0204 committed Jun 22, 2024
1 parent 68a7f03 commit 44df637
Showing 1 changed file with 9 additions and 2 deletions.
11 changes: 9 additions & 2 deletions .github/workflows/create-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:

steps:
- name: Checkout code
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: Delete tag and release
uses: dev-drprasad/delete-tag-and-release@v1.0
Expand Down Expand Up @@ -44,8 +44,13 @@ jobs:
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

- name: Get Commit Messages
id: get_commit_messages
run: |
echo "::set-output name=commits::$(git log --pretty=format:'- %s (%h)' --no-merges)"
- name: Upload New Release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
files: |
AppStore.zip
Expand All @@ -54,6 +59,8 @@ jobs:
AppStore_amd64.zip
tag_name: new
draft: false
prerelease: false
body: "## What's Changed\n\n${{ steps.get_commit_messages.outputs.commits }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

Expand Down

0 comments on commit 44df637

Please sign in to comment.