From 7a1df4b6c65a09060951d8bdb3587f554836de9a Mon Sep 17 00:00:00 2001 From: shenleban tongying Date: Wed, 6 Nov 2024 01:20:08 -0500 Subject: [PATCH] dev: fix changelog generation again --- .github/workflows/Release-all.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/Release-all.yml b/.github/workflows/Release-all.yml index 28cd490b..18ca0d3f 100644 --- a/.github/workflows/Release-all.yml +++ b/.github/workflows/Release-all.yml @@ -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)