如何在Fastlane持续集成中指定git仓库分支名称 [英] How to specify git repository branch name in fastlane continuous integration

查看:278
本文介绍了如何在Fastlane持续集成中指定git仓库分支名称的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将使用fastlane对我们的iOS项目(Xcode)进行持续集成.我们想从git远程存储库的不同分支构建应用程序.如何指定用于构建应用程序的分支名称?

I am going to use fastlane for continuous integration for our iOS project (Xcode). We want to build the app from different branches of our git remote repository. How can I specify the branch name for build the app?

推荐答案

这取决于您的CI系统,因为您通常不希望在CI系统签出源代码后自行切换分支.

This depends on your CI system, as you usually don't want to switch branches yourselves after the CI system checked out the source code.

这篇关于如何在Fastlane持续集成中指定git仓库分支名称的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆