fix(release): ignore prerelease tags in changelog generation (#1021)

This commit is contained in:
Will Pfleger
2026-06-12 18:36:51 -04:00
committed by GitHub
parent b8c0556e7c
commit faf00724fb
+1 -1
View File
@@ -504,7 +504,7 @@ release *ARGS:
# Bump versions and lockfiles
just bump-version "$VERSION"
# Generate changelog
LAST_TAG=$(git describe --tags --abbrev=0 --match 'v[0-9]*' 2>/dev/null || echo "")
LAST_TAG=$(git describe --tags --abbrev=0 --match 'v[0-9]*' --exclude '*-*' 2>/dev/null || echo "")
TMPFILE=$(mktemp)
{
echo "# Changelog"