mirror of
https://github.com/rcourtman/Pulse.git
synced 2026-10-13 00:34:43 +00:00
fix(release): make changelog ranges channel-aware
This commit is contained in:
parent
248b242034
commit
ff27c3881f
9 changed files with 276 additions and 66 deletions
|
|
@ -156,10 +156,7 @@ else
|
|||
echo ""
|
||||
if [[ ! $REPLY =~ ^[Nn]$ ]]; then
|
||||
echo "Generating release notes..."
|
||||
# Try to find previous tag for better context
|
||||
PREV_TAG=$(git describe --tags --abbrev=0 2>/dev/null || echo "")
|
||||
|
||||
if ./scripts/generate-release-notes.sh "$VERSION" "$PREV_TAG" > "$NOTES_FILE"; then
|
||||
if ./scripts/generate-release-notes.sh "$VERSION" > "$NOTES_FILE"; then
|
||||
echo "Release notes generated at ${NOTES_FILE}"
|
||||
echo ""
|
||||
# Show first few lines
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue