mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 15:09:31 +02:00
BuildRelease.sh: Fix checkout of tag
and use git shallow clone to speed up the script a bit
This commit is contained in:
@@ -38,10 +38,10 @@ bundle update
|
||||
mkdir -p $BUILD_DIR
|
||||
cd $BUILD_DIR
|
||||
REPO_URL=$(git ls-remote --get-url origin)
|
||||
git clone $REPO_URL
|
||||
REPO_NAME=$(basename -s .git $REPO_URL)
|
||||
git clone $REPO_URL --depth=1 --branch $TAG
|
||||
cd $REPO_NAME
|
||||
git checkout $TAG $TAG
|
||||
|
||||
|
||||
# Use appropriated dependencies according to the current branch
|
||||
bundle exec fastlane point_dependencies_to_same_feature
|
||||
|
||||
Reference in New Issue
Block a user