Skip to content

Commit e0b73f1

Browse files
committed
Strip the release message
1 parent 3a39597 commit e0b73f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/release.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ def publish_release(args: argparse.Namespace) -> None:
128128
# get message from /messages/<version>.txt
129129
text = get_message(os.path.join(MESSAGE_PATH, version + '.txt'))
130130
# strip message header (version)
131-
text = text[text.find('\n') + 1:]
131+
text = text[text.find('\n') + 1:].strip()
132132
# built the JSON request body
133133
data = json.dumps({
134134
"tag_name": version,

0 commit comments

Comments
 (0)