Skip to content

Commit

Permalink
[FIX] get full git history in CHANGELOG
Browse files Browse the repository at this point in the history
  • Loading branch information
istvnurbn committed Feb 26, 2024
1 parent b1814d9 commit eb44f8d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion .github/workflows/release_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,9 @@ jobs:
steps:
- name: 🛒 Checkout
uses: actions/checkout@v4
with:
fetch-depth: 0
fetch-tags: true

- name: ✨ Build CV
uses: xu-cheng/texlive-action@v2
Expand All @@ -24,7 +27,8 @@ jobs:
apk add make git
mkdir -p compiled
git config --system --add safe.directory '*'
echo "# 📃 changelog\n" >> compiled/CHANGELOG
echo "# 📃 changelog" >> compiled/CHANGELOG
echo >> compiled/CHANGELOG
git log $(git describe --tags --abbrev=0 @^)..@ --oneline --date-order --pretty=format:"%h - %s" >> compiled/CHANGELOG
make
Expand Down

0 comments on commit eb44f8d

Please sign in to comment.