show previous last commit as well

This commit is contained in:
neCo 2024-05-22 23:57:08 +02:00
parent 1a0ffe293a
commit 71de12a24b

View file

@ -60,7 +60,7 @@ jobs:
else
OLD_COMMIT="${{ steps.last_release.outputs.tag }}"
NUM_COMMITS="${{ steps.build_ids.outputs.number }}"
NEW_COMMITS="$(($NUM_COMMITS - $OLD_COMMIT))"
NEW_COMMITS="$(($NUM_COMMITS - $OLD_COMMIT + 1))"
echo "Generating changelog with $NEW_COMMITS commits starting from $OLD_COMMIT"
# echo changelog