mirror of
https://github.com/vector-im/element-ios.git
synced 2024-09-28 23:32:41 +00:00
BuildRelease.sh: Fix checkout of tag
and use git shallow clone to speed up the script a bit
This commit is contained in:
parent
61c25c9a42
commit
363196bc51
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue