Update CHANGELOG for v0.10.3
This commit is contained in:
@@ -1,9 +1,17 @@
|
||||
v0.10.2
|
||||
v0.10.3
|
||||
=======
|
||||
|
||||
.. TODO in next release:
|
||||
.. * A man page has been added. Contributed by @baldurmen.
|
||||
|
||||
This is a hotfix release. I forgot to add the Subsonic logo resources to
|
||||
``setup.py``. All of the interesting updates happened in `v0.10.2`_.
|
||||
|
||||
.. _v0.10.2: https://gitlab.com/sumner/sublime-music/-/releases/v0.10.2
|
||||
|
||||
v0.10.2
|
||||
=======
|
||||
|
||||
.. note::
|
||||
|
||||
This version does not have a Flatpak due to issues getting Python 3.8 working
|
||||
|
@@ -51,4 +51,17 @@ for path in Path("sublime").glob("**/*.py"):
|
||||
valid &= check_file(path)
|
||||
print() # noqa: T001
|
||||
|
||||
"""
|
||||
Checks that the version in the CHANGELOG is the same as the version in ``__init__.py``.
|
||||
"""
|
||||
with open(Path("sublime/__init__.py")) as f:
|
||||
for line in f:
|
||||
if line.startswith("__version__"):
|
||||
version = eval(line.split()[-1])
|
||||
break
|
||||
|
||||
with open(Path("CHANGELOG.rst")) as f:
|
||||
assert f.readline().strip() == f"v{version}", "Version mismatch"
|
||||
|
||||
|
||||
sys.exit(0 if valid else 1)
|
||||
|
@@ -78,5 +78,6 @@
|
||||
|
||||
<releases>
|
||||
<release version="0.10.2" date="2020-06-07"></release>
|
||||
<release version="0.10.3" date="2020-06-07"></release>
|
||||
</releases>
|
||||
</component>
|
||||
|
@@ -1 +1 @@
|
||||
__version__ = "0.10.2"
|
||||
__version__ = "0.10.3"
|
||||
|
Reference in New Issue
Block a user