Skip to content

Commit

Permalink
docs(docs.wire.com): WPB-15254 fix the calculation for TAG value and …
Browse files Browse the repository at this point in the history
…align with github action release.yaml
  • Loading branch information
mohitrajain committed Feb 13, 2025
1 parent d6761a5 commit 1737d88
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build/build_versions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -22,10 +22,10 @@ git config --local user.name "Wire Docs"
git config --local user.email "[email protected]"

# Checking if we are in github actions environment or working locally
if [ -n "${GITHUB_REF_NAME}" ]; then
CURRENT_TAG="$GITHUB_REF_NAME"
elif [ -n "${GITHUB_REF}" ]; then
if [ -n "${GITHUB_REF}" ]; then
CURRENT_TAG="${GITHUB_REF##*/}"
elif [ -n "${GITHUB_REF_NAME}" ]; then
CURRENT_TAG="$GITHUB_REF_NAME"
else
CURRENT_TAG="$CURRENT"
fi
Expand Down

0 comments on commit 1737d88

Please sign in to comment.