From 1adf2d00ebd340dca72532585276279cb6911dfb Mon Sep 17 00:00:00 2001 From: Brad Linden Date: Thu, 22 Aug 2024 15:46:48 -0700 Subject: Fix usage of $branch before it was initialized in build. --- .github/workflows/build.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index 30f38ba3a3..2cb94c9c90 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -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 -- cgit v1.2.3