Skip to content

Commit 1737d88

Browse files
committed
docs(docs.wire.com): WPB-15254 fix the calculation for TAG value and align with github action release.yaml
1 parent d6761a5 commit 1737d88

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

build/build_versions.sh

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@ git config --local user.name "Wire Docs"
2222
git config --local user.email "wire-docs-author@wire.com"
2323

2424
# 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
25+
if [ -n "${GITHUB_REF}" ]; then
2826
CURRENT_TAG="${GITHUB_REF##*/}"
27+
elif [ -n "${GITHUB_REF_NAME}" ]; then
28+
CURRENT_TAG="$GITHUB_REF_NAME"
2929
else
3030
CURRENT_TAG="$CURRENT"
3131
fi

0 commit comments

Comments
 (0)