Skip to content
Snippets Groups Projects
Commit bbbfdae5 authored by Igor Chorążewicz's avatar Igor Chorążewicz
Browse files

common: prepend release number to version when using GIT_VERSION

It allows tools which expect version in form major.minor to work
correctly even in case when pmdk is downloaded as zip archive.

This patch also removes '%d' from GIT_VERSION file. This placeholder
was filled with name of the branch only for the HEAD of a branch.
This means that GIT_VERSION of a selceted revision had different content
(either only commit hash or commit hash + name of the branch) depending
on whether selected revision was HEAD of the branch or not. Different
content of GIT_VERSION affected hash of the archive (and caused problems
with vcpkg in the past).
parent cc8c4f5c
Loading
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