hold current version in it's own file: VERSION

This commit is contained in:
jesopo 2019-10-11 17:03:14 +01:00
parent 7e9e08941f
commit 14f5ec38ed
2 changed files with 3 additions and 1 deletions

1
VERSION Normal file
View file

@ -0,0 +1 @@
v1.12.0

View file

@ -3,7 +3,8 @@ import typing, uuid
from src import EventManager, Exports, IRCServer, Logging, ModuleManager from src import EventManager, Exports, IRCServer, Logging, ModuleManager
from src import PollHook, PollSource, Socket, Timers, utils 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" SOURCE = "https://git.io/bitbot"
URL = "https://bitbot.dev" URL = "https://bitbot.dev"