mirror of
https://github.com/block/buzz.git
synced 2026-08-18 06:50:31 +02:00
fix(release): ignore prerelease tags in changelog generation (#1021)
This commit is contained in:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user