Update version
And from now on, DB table updates require a new revision!
This commit is contained in:
parent
3213ac028c
commit
09e8ceb96c
@ -1,2 +1,2 @@
|
|||||||
__version__ = "0.0.1"
|
__version__ = "0.1.0"
|
||||||
__author__ = "Andrew Ferrazzutti <fair@miscworks.net>"
|
__author__ = "Andrew Ferrazzutti <fair@miscworks.net>"
|
||||||
|
@ -23,7 +23,7 @@ if os.path.exists(".git") and shutil.which("git"):
|
|||||||
git_revision = git_revision[:8]
|
git_revision = git_revision[:8]
|
||||||
except (subprocess.SubprocessError, OSError):
|
except (subprocess.SubprocessError, OSError):
|
||||||
git_revision = "unknown"
|
git_revision = "unknown"
|
||||||
git_revision_url = ""
|
git_revision_url = None
|
||||||
|
|
||||||
try:
|
try:
|
||||||
git_tag = run(["git", "describe", "--exact-match", "--tags"]).strip().decode("ascii")
|
git_tag = run(["git", "describe", "--exact-match", "--tags"]).strip().decode("ascii")
|
||||||
@ -31,7 +31,7 @@ if os.path.exists(".git") and shutil.which("git"):
|
|||||||
git_tag = None
|
git_tag = None
|
||||||
else:
|
else:
|
||||||
git_revision = "unknown"
|
git_revision = "unknown"
|
||||||
git_revision_url = ""
|
git_revision_url = None
|
||||||
git_tag = None
|
git_tag = None
|
||||||
|
|
||||||
git_tag_url = f"https://github.com/mautrix/facebook/releases/tag/{git_tag}" if git_tag else None
|
git_tag_url = f"https://github.com/mautrix/facebook/releases/tag/{git_tag}" if git_tag else None
|
||||||
|
2
setup.py
2
setup.py
@ -51,7 +51,7 @@ setuptools.setup(
|
|||||||
python_requires="~=3.8",
|
python_requires="~=3.8",
|
||||||
|
|
||||||
classifiers=[
|
classifiers=[
|
||||||
"Development Status :: 1 - Planning",
|
"Development Status :: 4 - Beta",
|
||||||
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
|
"License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)",
|
||||||
"Topic :: Communications :: Chat",
|
"Topic :: Communications :: Chat",
|
||||||
"Framework :: AsyncIO",
|
"Framework :: AsyncIO",
|
||||||
|
Loading…
Reference in New Issue
Block a user