Merge pull request #4447 from wisp3rwind/pr_version_regex

release.py: fix version regex (remove u'' string prefix)
This commit is contained in:
Adrian Sampson 2022-08-21 07:07:23 -07:00 committed by GitHub
commit f0a6bbb38c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -34,7 +34,7 @@ VERSION_LOCS = [
os.path.join(BASE, 'beets', '__init__.py'),
[
(
r'__version__\s*=\s*u[\'"]([0-9\.]+)[\'"]',
r'__version__\s*=\s*[\'"]([0-9\.]+)[\'"]',
"__version__ = '{version}'",
)
]