fix(workflow): remove duplicate else block in changelog generation
This commit is contained in:
parent
50cd8b356e
commit
6cb5b58cc9
@ -146,10 +146,6 @@ jobs:
|
|||||||
git log --pretty=format:"- %s" > /tmp/release_body.md || true
|
git log --pretty=format:"- %s" > /tmp/release_body.md || true
|
||||||
git-cliff --config cliff.toml --output CHANGELOG.md
|
git-cliff --config cliff.toml --output CHANGELOG.md
|
||||||
fi
|
fi
|
||||||
else
|
|
||||||
echo "No previous tag found, generating from git commits"
|
|
||||||
git log --pretty=format:"- %s" > /tmp/release_body.md || true
|
|
||||||
fi
|
|
||||||
echo "=== Release body preview ==="
|
echo "=== Release body preview ==="
|
||||||
cat /tmp/release_body.md
|
cat /tmp/release_body.md
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user