mirror of
https://github.com/jellyfin/jellyfin.git
synced 2025-11-18 20:43:02 -05:00
Allow complete ignoring of submodule
Used by the parent build infrastructure
This commit is contained in:
parent
9f6bca3658
commit
a994edda04
4
build
4
build
@ -26,7 +26,7 @@ usage() {
|
|||||||
echo -e " $ build [-k/--keep-artifacts] [-b/--web-branch <web_branch>] <platform> <action>"
|
echo -e " $ build [-k/--keep-artifacts] [-b/--web-branch <web_branch>] <platform> <action>"
|
||||||
echo -e ""
|
echo -e ""
|
||||||
echo -e "The 'keep-artifacts' option preserves build artifacts, e.g. Docker images for system package builds."
|
echo -e "The 'keep-artifacts' option preserves build artifacts, e.g. Docker images for system package builds."
|
||||||
echo -e "The web_branch defaults to the same branch name as the current main branch."
|
echo -e "The web_branch defaults to the same branch name as the current main branch or can be 'local' to not touch the submodule branching."
|
||||||
echo -e "To build all platforms, use 'all'."
|
echo -e "To build all platforms, use 'all'."
|
||||||
echo -e "To perform all build actions, use 'all'."
|
echo -e "To perform all build actions, use 'all'."
|
||||||
echo -e "Build output files are collected at '../jellyfin-build/<platform>'."
|
echo -e "Build output files are collected at '../jellyfin-build/<platform>'."
|
||||||
@ -164,6 +164,7 @@ for target_platform in ${platform[@]}; do
|
|||||||
fi
|
fi
|
||||||
done
|
done
|
||||||
|
|
||||||
|
if [[ ${web_branch} != 'local' ]]; then
|
||||||
# Initialize submodules
|
# Initialize submodules
|
||||||
git submodule update --init --recursive
|
git submodule update --init --recursive
|
||||||
|
|
||||||
@ -195,6 +196,7 @@ else
|
|||||||
}
|
}
|
||||||
fi
|
fi
|
||||||
popd
|
popd
|
||||||
|
fi
|
||||||
|
|
||||||
# Execute each platform and action in order, if said action is enabled
|
# Execute each platform and action in order, if said action is enabled
|
||||||
pushd deployment/
|
pushd deployment/
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user