Skip to content

Commit

Permalink
generate changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
jmspit committed Mar 8, 2021
1 parent 9b4bbf5 commit beb8d08
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
echo "::set-output name=changelog::$(echo "$CHANGELOG")"

- name: Get pre-release changelog
id: get_release_changelog
id: get_prerelease_changelog
if: steps.check-tag.outputs.prerelease == 'true'
run:
export CHANGELOG="$(git --no-pager log ${{ steps.get_previous_release.outputs.tag }}..HEAD --date=short --pretty=format:' - %h %cd %an %t %s')"
Expand Down Expand Up @@ -112,7 +112,7 @@ jobs:
Changes since ${{ steps.get_previous_release.outputs.tag }}:
$${steps.get_release_changelog.outputs.changelog}
$${steps.get_prerelease_changelog.outputs.changelog}
draft: false
prerelease: true

Expand Down

0 comments on commit beb8d08

Please sign in to comment.