Skip to content
This repository has been archived by the owner on Jul 24, 2023. It is now read-only.

Commit

Permalink
Merge pull request #145 from joshuaboniface/fix-buildscript
Browse files Browse the repository at this point in the history
Always initialize the submodule on build
  • Loading branch information
joshuaboniface authored Jun 9, 2019
2 parents a64e5b4 + 8d7938f commit bec9cb0
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,9 @@ else
release="production"
fi

# Initialize the submodule jellyfin-web
git submodule update --init --remote

# Check out the proper jellyfin-web branch or update submodule
if [[ ${1} == '--web-branch' || ${1} == '-b' ]]; then
if [[ -n ${2} ]]; then
Expand All @@ -38,9 +41,6 @@ if [[ ${1} == '--web-branch' || ${1} == '-b' ]]; then
else
usage
fi
else
# Initialize the submodule jellyfin-web with the most branch master
git submodule update --init --remote
fi

set -o xtrace
Expand Down

0 comments on commit bec9cb0

Please sign in to comment.