Skip to content

Commit 29fe4f4

Browse files
committed
ci(release): some cleanups
1 parent ee40dcc commit 29fe4f4

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

mise-tasks/release-pr

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -195,12 +195,12 @@ echo "Creating or updating release PR..."
195195
PR_BODY=$(git cliff --tag "v$NEW_VERSION" --unreleased --strip header 2>/dev/null | tail -n +3 || echo "Release $NEW_VERSION")
196196

197197
# Create PR title
198+
PR_TITLE="chore(release): $NEW_VERSION"
199+
198200
if [[ "$TEST_MODE" == "true" ]]; then
199-
PR_TITLE="[TEST MODE] chore(release): $NEW_VERSION"
201+
PR_TITLE="[TEST MODE] $PR_TITLE"
200202
# Prepend test mode warning to body
201-
PR_BODY="⚠️ **TEST MODE** - This is a test release and will not be published to PyPI.$(echo)$(echo)$PR_BODY"
202-
else
203-
PR_TITLE="chore(release): $NEW_VERSION"
203+
PR_BODY="⚠️ **TEST MODE** - This is a test release and will not be published to PyPI.\n\n$PR_BODY"
204204
fi
205205

206206
# Check if PR already exists

0 commit comments

Comments
 (0)