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 d5a71e9 commit 3e9982aCopy full SHA for 3e9982a
contrib/gitian-descriptors/assign_DISTNAME
@@ -4,7 +4,7 @@
4
#
5
# A helper script to be sourced into the gitian descriptors
6
7
-if RECENT_TAG="$(git describe --exact-match HEAD)"; then
+if RECENT_TAG="$(git describe --exact-match HEAD 2> /dev/null)"; then
8
VERSION="${RECENT_TAG#v}"
9
else
10
VERSION="$(git rev-parse --short=12 HEAD)"
0 commit comments