Implement version check on startup
- check the latest release under https://github.com/StegSchreck/RatS/releases/latest
- notify user via WARN log
Hey, can I work on this as a starter?
The latest version can be fetched from the tags of the api. How can we know the current version that the user is using?
Hey. Sure, glad to have some help. I was thinking about a file in the repository which will be written by Travis when a tag is pushed and the build is successful.
Ok, so maybe we can add small bash commands in after_script of travis.yml that creates/appends to a file some version tag. But where will this version tag come from in the first place?
I think the latest git tag would make most sense. e.g.
touch version
echo `git describe --tags --always` | awk '{split($0,a,"-"); print a[1]}' > version
for the backwards compatibility I would suggest to assume the local copy is outdated, when no version file is present.