dev: fix changelog generation again
Some checks are pending
SonarCloud / Build and analyze (push) Waiting to run

This commit is contained in:
shenleban tongying 2024-11-06 01:20:08 -05:00
parent 285a0d8882
commit 7a1df4b6c6

View file

@ -147,7 +147,7 @@ jobs:
if [[ '${{env.prerelease}}' == 'true' ]]
then
echo "This is a pre-release"
previousTag=$(git tag --sort=-creatordate | grep "^v" | head -n 1)
previousTag=$(git tag --sort=-creatordate | grep "^v" | grep -v "Release" | head -n 1)
else
echo "This is not a pre-release"
previousTag=$(git tag --sort=-creatordate | grep "^v" | grep -v "alpha" | head -n 1)