Skip to content

Commit

Permalink
Minor fixes to CI (#51)
Browse files Browse the repository at this point in the history
  • Loading branch information
claitz authored Jul 4, 2024
2 parents b6e0120 + 8fbe79f commit 21abc00
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/build-and-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,8 @@ jobs:
- name: 📝 Generate release notes
id: release_notes
run: |
VERSION=$(git tag --sort=-committerdate | head -1)
PREVIOUS_VERSION=$(git tag --sort=-committerdate | head -2 | tail -1)
CHANGES=$(git log --pretty="- %s" $VERSION...$PREVIOUS_VERSION | sed -n '1,20p')
PREVIOUS_VERSION=$(git tag --sort=-committerdate | head -1)
CHANGES=$(git log --pretty="%h - %s" $PREVIOUS_VERSION...HEAD | sed -n '1,20p')
echo "# 🎁 Release Notes for $VERSION" > release_notes.txt
echo "" >> release_notes.txt
echo "## 🐳 Docker" > release_notes.txt
Expand Down

0 comments on commit 21abc00

Please sign in to comment.