Skip to content

Commit

Permalink
Merge pull request beetbox#4447 from wisp3rwind/pr_version_regex
Browse files Browse the repository at this point in the history
release.py: fix version regex (remove u'' string prefix)
  • Loading branch information
sampsyo authored Aug 21, 2022
2 parents 40d7fa6 + fafddce commit f0a6bbb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion extra/release.py
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ def release():
os.path.join(BASE, 'beets', '__init__.py'),
[
(
r'__version__\s*=\s*u[\'"]([0-9\.]+)[\'"]',
r'__version__\s*=\s*[\'"]([0-9\.]+)[\'"]',
"__version__ = '{version}'",
)
]
Expand Down

0 comments on commit f0a6bbb

Please sign in to comment.