Skip to content

Commit faf0072

Browse files
authored
fix(release): ignore prerelease tags in changelog generation (#1021)
1 parent b8c0556 commit faf0072

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎justfile‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -504,7 +504,7 @@ release *ARGS:
504504
# Bump versions and lockfiles
505505
just bump-version "$VERSION"
506506
# Generate changelog
507-
LAST_TAG=$(git describe --tags --abbrev=0 --match 'v[0-9]*' 2>/dev/null || echo "")
507+
LAST_TAG=$(git describe --tags --abbrev=0 --match 'v[0-9]*' --exclude '*-*' 2>/dev/null || echo "")
508508
TMPFILE=$(mktemp)
509509
{
510510
echo "# Changelog"

0 commit comments

Comments
 (0)