summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorBrad Linden <brad@lindenlab.com>2024-08-22 15:46:48 -0700
committerBrad Linden <brad@lindenlab.com>2024-08-22 15:46:48 -0700
commit1adf2d00ebd340dca72532585276279cb6911dfb (patch)
tree07585b65056a70185a382b718534c8998feb5dd2 /.github/workflows
parentfc7082e93dde7ea122e7f0782f66e0aeb530596f (diff)
Fix usage of $branch before it was initialized in build.
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build.yaml2
1 files changed, 1 insertions, 1 deletions
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