feat: Bump version to 0.3.6 with message type fix

Upgraded project version to 0.3.6 to introduce a critical fix for message type detection failing on certain messages. This version also amends the package directory structure for improved organization, moving from `src/gptbot` to just `gptbot`. Additionally, updated the CHANGELOG to reflect this fix and organizational change, ensuring that it stays current with the project's progress.

- Fixes message type detection issue
This commit is contained in:
Kumi 2024-04-11 07:41:52 +02:00
parent 7edc69897b
commit 1e59c90df2
Signed by: kumi
GPG key ID: ECBCC9082395383F
3 changed files with 11 additions and 5 deletions

View file

@ -1,8 +1,11 @@
# Changelog
### 0.3.5 (2024-04-11)
### 0.3.6 (2024-04-11)
* Fix issue where message type detection would fail for some messages (cece8cfb24e6f2e98d80d233b688c3e2c0ff05ae)
### 0.3.5
* Only set room avatar if it is not already set (a9c23ee9c42d0a741a7eb485315e3e2d0a526725)
### 0.3.4 (2024-02-18)

View file

@ -7,7 +7,7 @@ allow-direct-references = true
[project]
name = "matrix-gptbot"
version = "0.3.5"
version = "0.3.6"
authors = [
{ name="Kumi Mitterer", email="gptbot@kumi.email" },
@ -69,7 +69,7 @@ dev = [
"Bug Tracker" = "https://kumig.it/kumitterer/matrix-gptbot/issues"
[project.scripts]
gptbot = "gptbot:main"
gptbot = "gptbot.__main__:main"
[tool.hatch.build.targets.wheel]
packages = ["src/gptbot"]

View file

@ -17,8 +17,7 @@ def get_version():
return None
return package_version
if __name__ == "__main__":
def main():
# Parse command line arguments
parser = ArgumentParser()
parser.add_argument(
@ -53,3 +52,7 @@ if __name__ == "__main__":
print("Received KeyboardInterrupt - exiting...")
except SystemExit:
print("Received SIGTERM - exiting...")
if __name__ == "__main__":
main()