We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d6761a5 commit 1737d88Copy full SHA for 1737d88
build/build_versions.sh
@@ -22,10 +22,10 @@ git config --local user.name "Wire Docs"
22
git config --local user.email "wire-docs-author@wire.com"
23
24
# Checking if we are in github actions environment or working locally
25
-if [ -n "${GITHUB_REF_NAME}" ]; then
26
- CURRENT_TAG="$GITHUB_REF_NAME"
27
-elif [ -n "${GITHUB_REF}" ]; then
+if [ -n "${GITHUB_REF}" ]; then
28
CURRENT_TAG="${GITHUB_REF##*/}"
+elif [ -n "${GITHUB_REF_NAME}" ]; then
+ CURRENT_TAG="$GITHUB_REF_NAME"
29
else
30
CURRENT_TAG="$CURRENT"
31
fi
0 commit comments