Skip to content

Commit

Permalink
try fix Get commit messages in github action
Browse files Browse the repository at this point in the history
  • Loading branch information
tristiisch committed Nov 24, 2023
1 parent 03aae41 commit 9f654c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/compile.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ jobs:
- name: Get commit messages
id: get_commit_messages
run: |
COMMIT_MESSAGES=$(git log --pretty=format:"* %s" ${{ github.event.before }}..${{ github.sha }})
COMMIT_MESSAGES=$(git log ${{ github.event.before }}..${{ github.sha }} --oneline | sed 's/^/* /')
echo "commit_messages=$COMMIT_MESSAGES" >> $GITHUB_OUTPUT
- name: Get last release tag
Expand Down

0 comments on commit 9f654c1

Please sign in to comment.