File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
swift-ci/sdks/android/scripts Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -149,10 +149,11 @@ elif [[ $SWIFT_VERSION == tag:* ]]; then
149149 utils/update-checkout ${clone_arg} --tag ${SWIFT_VERSION# tag: } ${extra_args}
150150else
151151 utils/update-checkout ${clone_arg} --tag swift-${SWIFT_VERSION} -RELEASE ${extra_args}
152- if [[ $SWIFT_VERSION == ' 6.2' ]]; then
153- curl -fsSL https://github.com/swiftlang/swift/pull/84061.patch > 84061.patch
154- git apply 84061.patch
155- fi
152+ fi
153+
154+ if [[ $SWIFT_VERSION == ' 6.2' || $SWIFT_VERSION == ' tag:swift-6.2-RELEASE' ]]; then
155+ curl -fsSL https://github.com/swiftlang/swift/pull/84061.patch > 84061.patch
156+ git apply 84061.patch
156157fi
157158
158159popd > /dev/null
Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ elif [[ $SWIFT_VERSION == scheme:* ]]; then
4949 echo " Building $SWIFT_VERSION with prebuilt Swift $RELEASE_TAG compiler"
5050 BUILD_COMPILER=yes
5151 echo " Branch scheme builds always build the Swift compiler from source and take much longer."
52+ else
53+ echo " Invalid SWIFT_VERSION: $SWIFT_VERSION "
54+ exit 1
5255fi
5356
5457SWIFT_BASE=$SWIFT_TAG -$HOST_OS
You can’t perform that action at this time.
0 commit comments