Closed as not planned
Description
Since go1.12 we can get the version from runtime/debug for the main module (gitea itself) and also submodules (lib) we are using. golang/go@45e9c55
So when we will only support 1.12 and 1.13 we could migrate to this system and clear some makefile and also wiil fix #4782 since we will not rely on env variable.