mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
Add build_id versioning to portable build
This commit is contained in:
parent
ceacedd6fd
commit
9e3d792f62
1 changed files with 5 additions and 1 deletions
|
@ -7,7 +7,11 @@ set -o xtrace
|
|||
pushd ${SOURCE_DIR}
|
||||
|
||||
# get version
|
||||
if [[ ${GIT_BRANCH} == 'refs/heads/package' ]]; then
|
||||
version="${BUILD_ID}"
|
||||
else
|
||||
version="$( grep "version:" ./build.yaml | sed -E 's/version: "([0-9\.]+.*)"/\1/' )"
|
||||
fi
|
||||
|
||||
# build archives
|
||||
npx yarn install
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue