aboutsummaryrefslogtreecommitdiff
path: root/deployment/build.portable
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.portable
parent3599ae7186a066e259bda7cd0156b0a891d76750 (diff)
Modify build scripts to build Unstable versions
Diffstat (limited to 'deployment/build.portable')
-rwxr-xr-xdeployment/build.portable6
1 files changed, 5 insertions, 1 deletions
diff --git a/deployment/build.portable b/deployment/build.portable
index 1e8a4ab623..24a8cbf32e 100755
--- a/deployment/build.portable
+++ b/deployment/build.portable
@@ -9,7 +9,11 @@ set -o xtrace
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
# Build archives
dotnet publish Jellyfin.Server --configuration Release --output dist/jellyfin-server_${version}/ "-p:GenerateDocumentationFile=false;DebugSymbols=false;DebugType=none;UseAppHost=true"