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
149
149
utils/update-checkout ${clone_arg} --tag ${SWIFT_VERSION# tag: } ${extra_args}
150
150
else
151
151
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
156
157
fi
157
158
158
159
popd > /dev/null
Original file line number Diff line number Diff line change @@ -49,6 +49,9 @@ elif [[ $SWIFT_VERSION == scheme:* ]]; then
49
49
echo " Building $SWIFT_VERSION with prebuilt Swift $RELEASE_TAG compiler"
50
50
BUILD_COMPILER=yes
51
51
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
52
55
fi
53
56
54
57
SWIFT_BASE=$SWIFT_TAG -$HOST_OS
You can’t perform that action at this time.
0 commit comments