From 5ce2774e23658aad9a7e7043e9c3259821362b2c Mon Sep 17 00:00:00 2001 From: Victor Miti Date: Fri, 5 Jul 2024 01:41:44 +0100 Subject: [PATCH] chore: fix string treatment --- tasks.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tasks.py b/tasks.py index 3c3d853..be138ff 100644 --- a/tasks.py +++ b/tasks.py @@ -63,7 +63,7 @@ def execute_bump_hack(c): "git describe --abbrev=0 --tags `git rev-list --tags --skip=0 --max-count=1`", pty=True, ) - previous_tag = get_current_tag.stdout.strip("\n") + previous_tag = get_current_tag.stdout.rstrip() c.run( f'standard-version --commit-all --release-as {release_type} --releaseCommitMessageFormat "bump: ✈️ {previous_tag} → v{{{{currentTag}}}}"', pty=True,