Skip to content

Commit 218842b

Browse files
authored
Remove v tag from version.
1 parent fda432b commit 218842b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/edit_version.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
with open("../../twitchio/__init__.py", "r+") as fp:
1111
data = fp.read()
1212

13-
data = re.sub(r"__version__ = \"\d+.\d+.\d+\"", f'__version__ = "{args["latest"]}"', data)
13+
data = re.sub(r"__version__ = \"\d+.\d+.\d+\"", f'__version__ = "{args["latest"].removeprefix("v")}"', data)
1414

1515
fp.seek(0)
1616
fp.write(data)

0 commit comments

Comments
 (0)