manage.sh: Change remote urls to avoid redirects and add --branch option
This commit is contained in:
parent
256cf9e17d
commit
3f0315a6a4
1 changed files with 6 additions and 2 deletions
|
@ -26,8 +26,8 @@ all() {
|
|||
build
|
||||
}
|
||||
|
||||
FRONTEND_REMOTE_REPO_DEFAULT='https://git.pleroma.social/pleroma/pleroma-fe'
|
||||
BACKEND_REMOTE_REPO_DEFAULT='https://git.pleroma.social/pleroma/pleroma'
|
||||
FRONTEND_REMOTE_REPO_DEFAULT='https://git.pleroma.social/pleroma/pleroma-fe.git'
|
||||
BACKEND_REMOTE_REPO_DEFAULT='https://git.pleroma.social/pleroma/pleroma.git'
|
||||
|
||||
FRONTEND_LOCAL_REPO_DEFAULT='../pleroma-fe'
|
||||
BACKEND_LOCAL_REPO_DEFAULT='../pleroma'
|
||||
|
@ -74,6 +74,10 @@ else
|
|||
BACKEND_REPO="$2"
|
||||
shift 2
|
||||
;;
|
||||
--branch)
|
||||
branch="$2"
|
||||
shift 2
|
||||
;;
|
||||
-*)
|
||||
echo "invalid option: $1" 1>&2
|
||||
shift 1
|
||||
|
|
Reference in a new issue