mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 23:18:27 +02:00
BF: Build: Fix build based on git tag
It was not more possible to build using tags. The reason was the fastlane git_branch method returned nil. Internally this method executes `git symbolic-ref HEAD --short` which returned `fatal: ref HEAD is not a symbolic ref` in our case. We now checks out the tag as a local branch.
This commit is contained in:
@@ -37,8 +37,9 @@ bundle update
|
||||
# Checkout the source to build
|
||||
mkdir -p $BUILD_DIR
|
||||
cd $BUILD_DIR
|
||||
git clone --single-branch --branch $TAG https://github.com/vector-im/riot-ios.git
|
||||
git clone https://github.com/vector-im/riot-ios.git
|
||||
cd riot-ios
|
||||
git checkout -b $TAG $TAG
|
||||
|
||||
|
||||
# Develop branch special case
|
||||
|
||||
Reference in New Issue
Block a user