aboutsummaryrefslogtreecommitdiff
path: root/deployment/build.windows.amd64
diff options
context:
space:
mode:
authorJoshua M. Boniface <joshua@boniface.me>2020-06-19 16:31:59 -0400
committerJoshua M. Boniface <joshua@boniface.me>2020-06-19 16:31:59 -0400
commita418c248061362379b43624128f6cd15a4acb193 (patch)
tree8e58b692e4c4dd19a33592e14be980fe6f0b00cc /deployment/build.windows.amd64
parent3599ae7186a066e259bda7cd0156b0a891d76750 (diff)
Modify build scripts to build Unstable versions
Diffstat (limited to 'deployment/build.windows.amd64')
-rwxr-xr-xdeployment/build.windows.amd646
1 files changed, 5 insertions, 1 deletions
diff --git a/deployment/build.windows.amd64 b/deployment/build.windows.amd64
index 39bd41f990..3fabc2cac6 100755
--- a/deployment/build.windows.amd64
+++ b/deployment/build.windows.amd64
@@ -15,7 +15,11 @@ FFMPEG_URL="https://ffmpeg.zeranoe.com/builds/win64/static/${FFMPEG_VERSION}.zip
pushd ${SOURCE_DIR}
# Get version
-version="$( grep "version:" ./build.yaml | sed -E 's/version: "([0-9\.]+.*)"/\1/' )"
+if [[ ${IS_UNSTABLE} == 'yes' ]]; then
+ version="${BUILD_ID}"
+else
+ version="$( grep "version:" ./build.yaml | sed -E 's/version: "([0-9\.]+.*)"/\1/' )"
+fi
output_dir="dist/jellyfin-server_${version}"