diff options
| author | 2019-10-11 17:03:14 +0100 | |
|---|---|---|
| committer | 2019-10-11 17:03:14 +0100 | |
| commit | 14f5ec38edd4d2df82b64e6541cdb4878d2a435f (patch) | |
| tree | ac1c60bf3bb916f378ef97945f8d9d6aafaa1f8a /src | |
| parent | 'start.py' -> 'bitbotd' (diff) | |
| signature | ||
hold current version in it's own file: VERSION
Diffstat (limited to 'src')
| -rw-r--r-- | src/IRCBot.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/IRCBot.py b/src/IRCBot.py index 9ff382ab..5e4371e1 100644 --- a/src/IRCBot.py +++ b/src/IRCBot.py @@ -3,7 +3,8 @@ import typing, uuid from src import EventManager, Exports, IRCServer, Logging, ModuleManager from src import PollHook, PollSource, Socket, Timers, utils -VERSION = "v1.12.0" +with open("VERSION", "r") as version_file: + VERSION = version_file.read().strip() SOURCE = "https://git.io/bitbot" URL = "https://bitbot.dev" |
