File tree Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Expand file tree Collapse file tree 1 file changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -26,10 +26,13 @@ elif [ "${BUILD_VERSION}" = 'devel' ]; then
2626 LATEST_TOOLCHAIN_VERSION=$( curl -sL https://github.com/apple/swift/tags | grep -m1 swift-6.2-DEV | cut -d- -f8-10)
2727 SWIFT_TAG=" swift-6.2-DEVELOPMENT-SNAPSHOT-${LATEST_TOOLCHAIN_VERSION} -a"
2828 SWIFT_BRANCH=" swift-$( echo $SWIFT_TAG | cut -d- -f2) -branch"
29- else
29+ elif [ " ${BUILD_VERSION} " = ' trunk ' ] ; then
3030 LATEST_TOOLCHAIN_VERSION=$( curl -sL https://github.com/apple/swift/tags | grep -m1 swift-DEV | cut -d- -f7-9)
3131 SWIFT_TAG=" swift-DEVELOPMENT-SNAPSHOT-${LATEST_TOOLCHAIN_VERSION} -a"
3232 SWIFT_BRANCH=" development"
33+ else
34+ echo " $0 : invalid BUILD_VERSION=${BUILD_VERSION} "
35+ exit 1
3336fi
3437
3538SWIFT_BASE=$SWIFT_TAG -$HOST_OS
You can’t perform that action at this time.
0 commit comments