Skip to content

Commit

Permalink
Fixed issue with list-changes step
Browse files Browse the repository at this point in the history
  • Loading branch information
thejhh committed Jan 4, 2023
1 parent c3fdf93 commit 01dc0d0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,12 +28,9 @@ jobs:
needs:
- test
steps:
- name: Get last release
id: get-last-release
uses: actions/get-previous-release@v1
- name: List changes
run: |
git log --oneline --no-merges --format="%s" ${{ steps.get-last-release.outputs.tag }}..${{ github.ref }} |
git log --oneline --no-merges --format="%s" $(git describe --tags --abbrev=0)..${{ github.ref }} |
jq -R -s -c 'split("\n") | map({"type": "list-item", "text": .})' |
jq -s -c '{"type": "list", "items": .}' > changes.md
release:
Expand Down

0 comments on commit 01dc0d0

Please sign in to comment.