Skip to content

Commit 360f7b6

Browse files
Explicitly checkout the swift repository before update-checkout
The main branch may specify too new versions of dependencies in update-checkout-config.json.
1 parent 3583820 commit 360f7b6

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tools/build/build_support/actions.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,8 @@ def run(self):
3535

3636
args = ['git', 'clone'] + git_options + ['https://github.com/apple/swift.git', '../swift']
3737
self.system(*args)
38+
print('=====> Checking out Swift tag {}'.format(self.options.tag))
39+
self.system('git', '-C', '../swift', 'checkout', self.options.tag)
3840

3941
class UpdateCheckoutAction(Action):
4042
def run(self):

0 commit comments

Comments
 (0)