-
- Downloads
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.
Loading
Please register or sign in to comment