diff options
| author | Joshua Boniface <joshua@boniface.me> | 2019-10-07 22:37:19 -0400 |
|---|---|---|
| committer | Joshua Boniface <joshua@boniface.me> | 2019-10-07 22:37:19 -0400 |
| commit | 3fc71731a31475a5e8a660ec172f5f07a166d8aa (patch) | |
| tree | e60d5a3d4a1d7643f191d42a045596248d8a2157 /bump_version | |
| parent | d8c3b26fa686e440912a45d82bb9866b4b66822c (diff) | |
Remove jellyfin-web submodule from bump_version
Diffstat (limited to 'bump_version')
| -rwxr-xr-x | bump_version | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/bump_version b/bump_version index 590020864..106dd7a78 100755 --- a/bump_version +++ b/bump_version @@ -24,33 +24,6 @@ fi shared_version_file="./SharedVersion.cs" build_file="./build.yaml" -if [[ -z $2 ]]; then - web_branch="$( git branch 2>/dev/null | sed -e '/^[^*]/d' -e 's/* \(.*\)/\1/' )" -else - web_branch="$2" -fi - -# Initialize submodules -git submodule update --init --recursive - -# configure branch -pushd MediaBrowser.WebDashboard/jellyfin-web - -if ! git diff-index --quiet HEAD --; then - popd - echo - echo "ERROR: Your 'jellyfin-web' submodule working directory is not clean!" - echo "This script will overwrite your unstaged and unpushed changes." - echo "Please do development on 'jellyfin-web' outside of the submodule." - exit 1 -fi - -git fetch --all -git checkout origin/${web_branch} -popd - -git add MediaBrowser.WebDashboard/jellyfin-web - new_version="$1" # Parse the version from the AssemblyVersion |
