Fix version number in resulting binary
Details:
Gitea releases don't supply the release version number;
the automatic method to obtain the version number in
the Gitea build system only works when sources are checked
out from git.
PR: 222885
Submitted by: stb@lassitu.de (maintainer)
MFH: 2017Q4