manage.sh: Change remote urls to avoid redirects and add --branch option

This commit is contained in:
rinpatch 2019-10-02 20:45:33 +03:00
parent 256cf9e17d
commit 3f0315a6a4

View file

@ -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