Fix elements naming in gitian builds

This commit is contained in:
Pablo Greco 2022-08-01 15:30:53 +00:00
parent a0585cec57
commit 7ab26e5fd3

View file

@ -5,6 +5,7 @@
# A helper script to be sourced into the gitian descriptors
if RECENT_TAG="$(git describe --exact-match HEAD 2> /dev/null)"; then
RECENT_TAG="${RECENT_TAG#elements-}"
VERSION="${RECENT_TAG#v}"
else
VERSION="$(git rev-parse --short=12 HEAD)"