mirror of
https://gitlab.opencode.de/bwi/bundesmessenger/clients/bundesmessenger-ios.git
synced 2026-04-17 23:18:27 +02:00
Read repo url and name from current git repo
This commit is contained in:
@@ -37,9 +37,11 @@ bundle update
|
||||
# Checkout the source to build
|
||||
mkdir -p $BUILD_DIR
|
||||
cd $BUILD_DIR
|
||||
git clone https://github.com/vector-im/riot-ios.git
|
||||
cd riot-ios
|
||||
git checkout -b $TAG $TAG
|
||||
REPO_URL=$(git ls-remote --get-url origin)
|
||||
git clone $REPO_URL
|
||||
REPO_NAME=$(basename -s .git $REPO_URL)
|
||||
cd $REPO_NAME
|
||||
git checkout $TAG $TAG
|
||||
|
||||
|
||||
# Develop branch special case
|
||||
|
||||
Reference in New Issue
Block a user