Skip to content

Commit 8eb389a

Browse files
authored
Update toolchain-vars.sh to fix setting branch variable
1 parent 718b96c commit 8eb389a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

swift-ci/sdks/android/scripts/toolchain-vars.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,9 @@
1515
OS=$(echo $HOST_OS | tr -d '.')
1616
# e.g., "swift-6.1-RELEASE"
1717
# there is no latest-build.yml for releases, so we need to get it from the API
18-
export RELEASE_TAG=$(curl -fsSL https://www.swift.org/api/v1/install/releases.json | jq -r '.[-1].tag')
18+
RELEASE_TAG=$(curl -fsSL https://www.swift.org/api/v1/install/releases.json | jq -r '.[-1].tag')
1919
# e.g., "swift-6.1-release"
20-
export RELEASE_BRANCH=$(echo "${SWIFT_TAG}" | tr '[A-Z]' '[a-z]')
20+
RELEASE_BRANCH=$(echo "${RELEASE_TAG}" | tr '[A-Z]' '[a-z]')
2121

2222
case "${BUILD_SCHEME}" in
2323
release)

0 commit comments

Comments
 (0)