We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4a131c8 commit 000227dCopy full SHA for 000227d
share/genbuild.sh
@@ -28,6 +28,8 @@ if [ "${BITCOIN_GENBUILD_NO_GIT}" != "1" ] && [ -e "$(command -v git)" ] && [ "$
28
RAWDESC=$(git describe --abbrev=0 2>/dev/null)
29
if [ "$(git rev-parse HEAD)" = "$(git rev-list -1 "$RAWDESC" 2>/dev/null)" ]; then
30
git diff-index --quiet HEAD -- && GIT_TAG=$RAWDESC
31
+ # Replace elements- tag with the corresponding v
32
+ case "$GIT_TAG" in elements-*) GIT_TAG="v${GIT_TAG#elements-}";; esac
33
fi
34
35
# otherwise generate suffix from git, i.e. string like "59887e8-dirty"
0 commit comments