Commit 9eae1796 authored by Tomasz Maczukin's avatar Tomasz Maczukin

Merge branch 'fix-build-in-macos' into 'master'

Fix missing VERSION on Mac build

See merge request !465
parents 81b2f010 cd097e93
......@@ -16,7 +16,7 @@ if [[ $(echo ${exact_tag} | grep -E "^[0-9]+\.[0-9]+\.[0-9]+-rc\.[0-9]+$") ]]; t
last_tag=$(git log --first-parent --pretty="%d" | grep -E "tag: v[0-9]+\.[0-9]+\.[0-9]+(\)|,)" -o | grep "v[0-9]*\.[0-9]*\.[0-9]*" -o | head -n 1)
commits=$(git log --oneline ${last_tag}..HEAD | wc -l | sed -r 's/[ ]+//')
commits=$(git log --oneline ${last_tag}..HEAD | wc -l | tr -d ' ')
revision=$(git rev-parse --short HEAD || echo unknown)
echo "${version}~beta.${commits}.g${revision}"
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment