Closed luni3359 closed 3 years ago
Progress made with commit 0ac6885392c1763aadfe30c9174d5d5915577199. I still don't quite like this because it's not immediately obvious what version is being ran.
I think I'll hard-code it for live but show a commit (and maybe a date and time?) when debugging.
Turns out that the bot is returning the same commit version because the git repo is not replicated when updating the bot locally to a computer within your network. I guess it shouldn't use git
to get the version.
I'm at a loss. Versioning is proving to be much more complicated than I thought it out to be. I don't think it justifies being a goal towards version 0.9.
This has been fixed as of commit b082b19f5917b36a380cb9c3be35f412a124ee38.
Poetry has solved this issue. Now the bot's version can be bumped from one single, non-arbitrary place, and retrieved as needed. This still doesn't do any of the above requests, like displaying a version date, but ultimately nobody really looks at release dates.
Very useful to know what version a bot is running on. Maybe include what commit it's in, along with its description?