mirror of
https://github.com/nextcloud/documentation.git
synced 2026-03-26 13:28:45 +07:00
Properly pass the branch to get-server-sources.sh
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
This commit is contained in:
@@ -6,6 +6,10 @@
|
||||
|
||||
NC_BRANCH="${1:-master}"
|
||||
|
||||
printf "\n\n"
|
||||
echo Fetching source for $NC_BRANCH
|
||||
printf "\n"
|
||||
|
||||
if [ -d server/.git ]; then
|
||||
cd server && git fetch && git checkout $NC_BRANCH && git reset --hard origin/$NC_BRANCH
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user