diff options
| author | Joshua M. Boniface <joshua@boniface.me> | 2020-06-19 16:31:59 -0400 |
|---|---|---|
| committer | Joshua M. Boniface <joshua@boniface.me> | 2020-06-19 16:31:59 -0400 |
| commit | a418c248061362379b43624128f6cd15a4acb193 (patch) | |
| tree | 8e58b692e4c4dd19a33592e14be980fe6f0b00cc /deployment/build.macos | |
| parent | 3599ae7186a066e259bda7cd0156b0a891d76750 (diff) | |
Modify build scripts to build Unstable versions
Diffstat (limited to 'deployment/build.macos')
| -rwxr-xr-x | deployment/build.macos | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/deployment/build.macos b/deployment/build.macos index 16be29eeef..d808141acc 100755 --- a/deployment/build.macos +++ b/deployment/build.macos @@ -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 --self-contained --runtime osx-x64 --output dist/jellyfin-server_${version}/ "-p:GenerateDocumentationFile=false;DebugSymbols=false;DebugType=none;UseAppHost=true" |
