Closed lucasjinreal closed 2 years ago
INFO - fetching tags from remote (to turn off use: -n / --no-fetch)
INFO - Old Version: 3.0.3
INFO - New Version: 3.0.4
ERROR - No match for pattern '"MAJOR.MINOR.PATCH"'
ERROR -
# https://regex101.com/?flavor=python&flags=gmx®ex=%5C%22%0A%28%3FP%3Cmajor%3E%5B0-9%5D%2B%29%0A%5C.%0A%28%3FP%3Cminor%3E%5B0-9%5D%2B%29%0A%5C.%0A%28%3FP%3Cpatch%3E%5B0-9%5D%2B%29%0A%5C%22
regex = re.compile(r"""
\"
(?P<major>[0-9]+)
\.
(?P<minor>[0-9]+)
\.
(?P<patch>[0-9]+)
\"
""", flags=re.VERBOSE)
ERROR - No match for pattern '"MAJOR.MINOR.PATCH[PYTAGNUM]"'
ERROR -
# https://regex101.com/?flavor=python&flags=gmx®ex=%5C%22%0A%28%3FP%3Cmajor%3E%5B0-9%5D%2B%29%0A%5C.%0A%28%3FP%3Cminor%3E%5B0-9%5D%2B%29%0A%5C.%0A%28%3FP%3Cpatch%3E%5B0-9%5D%2B%29%0A%28%3F%3A%0A%20%20%20%20%28%3FP%3Cpytag%3Epost%7Crc%7Ca%7Cb%29%0A%20%20%20%20%28%3FP%3Cnum%3E%5B0-9%5D%2B%29%0A%29%3F%0A%5C%22
regex = re.compile(r"""
\"
(?P<major>[0-9]+)
\.
(?P<minor>[0-9]+)
\.
(?P<patch>[0-9]+)
(?:
(?P<pytag>post|rc|a|b)
(?P<num>[0-9]+)
)?
\"
""", flags=re.VERBOSE)
ERROR - Invalid pattern(s)
I dont know what I missed here.
Why such as simple thing made is so complciated????
Again, please learn to read error messages:
Your working directory is not clean. Uncommitted changes in alfred/version.py
@mbarkhau Why the error msgs then? I can change the file now...