We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f3ee2a1 commit 3a070a9Copy full SHA for 3a070a9
scripts/build/.variables
@@ -6,7 +6,7 @@ GITCOMMIT=$(git rev-parse --short HEAD 2> /dev/null)
6
BUILDTIME=$(date -u +"%Y-%m-%dT%H:%M:%SZ")
7
8
latest_tag=$(git describe --abbrev=0 --tags)
9
-gitcommit_match_tag=$(git describe --exact-match ${GITCOMMIT})
+gitcommit_match_tag=$(git describe --exact-match ${GITCOMMIT} 2> /dev/null)
10
11
if [[ "${gitcommit_match_tag}" == "${latest_tag}" ]]; then
12
# building on official tag
0 commit comments