Skip to content
Snippets Groups Projects
Commit b3f0821d authored by Marcin Ślusarz's avatar Marcin Ślusarz
Browse files

common: fix reported version

There are many problems:

On Linux we were using git commit id of the parent repository if
zip/tar.gz package was uncompressed inside of git repository (and
this is the case for Fedora).

We can't rely on GIT_VERSION for releases, because its contents depends
on state of the branch the tag was created from.
This file contains all refs that point to the tagged commit, so
immediately after 1.4.1 release it contained both "1.4.1" and
"stable-1.4", but after merging the first PR to "stable-1.4" branch it
contained only "1.4.1". This means that the checksum of the released
version changed! This is why vcpkg build from master fails now (it
contains initial checksum).
The fix is to remove the automatically filled GIT_VERSION file and add
static VERSION file before the release and revert this commit after.

Version reported by debug libraries was empty if libraries were built
from directories other than / and /src.

On Windows reported version for point releases was wrong.
parent 4ee2b917
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment