Skip to content

Commit

Permalink
chore: bugfix on the invoke bump script
Browse files Browse the repository at this point in the history
it erroneously added `\r` to the previous tag, so we strip it
  • Loading branch information
engineervix committed Dec 9, 2021
1 parent 12bcaf6 commit f0397b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -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.strip("\n").strip("\r")
c.run(
f'npm run release -- --commit-all --release-as {release_type} --releaseCommitMessageFormat "bump: ✈️ {previous_tag} → v{{{{currentTag}}}}"',
pty=True,
Expand Down

0 comments on commit f0397b9

Please sign in to comment.