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 a6d0e39 commit ca59e17Copy full SHA for ca59e17
scripts/get-current-info.sh
@@ -3,7 +3,7 @@
3
set -o errexit -o nounset -o pipefail
4
5
BRANCH_NAME="$(git rev-parse --abbrev-ref HEAD)"
6
-TAG_NAME="$(git describe --tags)"
+TAG_NAME="$(git describe --tags || echo "no-tags")"
7
SHORT_COMMIT_HASH="$(git rev-parse --short=8 HEAD)"
8
9
if [ "${BRANCH_NAME}" == "HEAD" ]; then
0 commit comments