Fix usage of $branch before it was initialized in build.

meow-7.2.2
Brad Linden 2024-08-22 15:46:48 -07:00
parent fc7082e93d
commit 1adf2d00eb
1 changed files with 1 additions and 1 deletions

View File

@ -206,6 +206,7 @@ jobs:
# trigger an EDU build by including "edu" in the tag
edu=${{ github.ref_type == 'tag' && contains(github.ref_name, 'edu') }}
echo "ref_type=${{ github.ref_type }}, ref_name=${{ github.ref_name }}, edu='$edu'"
branch=$AUTOBUILD_VCS_BRANCH
if [[ "$edu" == "true" ]]
then
export viewer_channel="Second Life Release edu"
@ -213,7 +214,6 @@ jobs:
then
export viewer_channel="Second Life Develop"
else
branch=$AUTOBUILD_VCS_BRANCH
IFS='/' read -ra ba <<< "$branch"
prefix=${ba[0]}
if [ "$prefix" == "project" ]; then