Correction nommage archive distribution

This commit is contained in:
wpetit 2018-03-09 12:35:27 +01:00
parent c315bcf66b
commit 8ac2048fd6

View File

@ -31,9 +31,9 @@ function get_version {
echo ${tags[0]} echo ${tags[0]}
return return
fi fi
latest_tag=$( ( git describe --abbrev=0 --tags 2>/dev/null || exit ) ) latest_tag=${tags[0]}
local latest_branch_commit=$(git log --pretty=format:'%h' -n 1) local latest_branch_commit=$(git log --pretty=format:'%h' -n 1)
echo "${latest_tag:-0.0.0}-dev+rev.$latest_branch_commit" echo "${latest_tag:-0.0.0}+rev.$latest_branch_commit"
} }
dep ensure -v dep ensure -v