mirror of
https://github.com/block/buzz.git
synced 2026-10-28 04:51:40 +00:00
fix(release): ignore prerelease tags in changelog generation (#1021)
This commit is contained in:
2
justfile
2
justfile
@@ -504,7 +504,7 @@ release *ARGS:
|
|||||||
# Bump versions and lockfiles
|
# Bump versions and lockfiles
|
||||||
just bump-version "$VERSION"
|
just bump-version "$VERSION"
|
||||||
# Generate changelog
|
# 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)
|
TMPFILE=$(mktemp)
|
||||||
{
|
{
|
||||||
echo "# Changelog"
|
echo "# Changelog"
|
||||||
|
|||||||
Reference in New Issue
Block a user