File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -61,7 +61,7 @@ function update_script() {
6161 done
6262 msg_ok " Image-processing libraries up to date"
6363 fi
64- RELEASE=" 1.139.2 "
64+ RELEASE=" 1.139.4 "
6565 # RELEASE=$(curl -fsSL https://api.github.com/repos/immich-app/immich/releases?per_page=1 | grep "tag_name" | awk '{print substr($2, 3, length($2)-4) }')
6666 if [[ -f ~ /.immich && " $RELEASE " == " $( cat ~ /.immich) " ]]; then
6767 msg_ok " No update required. ${APP} is already at v${RELEASE} "
@@ -138,14 +138,16 @@ EOF
138138 corepack enable
139139
140140 # server build
141+ export SHARP_IGNORE_GLOBAL_LIBVIPS=true
141142 $STD pnpm --filter immich --frozen-lockfile build
143+ unset SHARP_IGNORE_GLOBAL_LIBVIPS
144+ export SHARP_FORCE_GLOBAL_LIBVIPS=true
142145 $STD pnpm --filter immich --frozen-lockfile --prod --no-optional deploy " $APP_DIR "
143146 cp " $APP_DIR " /package.json " $APP_DIR " /bin
144147 sed -i ' s|^start|./start|' " $APP_DIR " /bin/immich-admin
145148
146149 # openapi & web build
147150 cd " $SRC_DIR "
148- export SHARP_FORCE_GLOBAL_LIBVIPS=true
149151 $STD pnpm --filter @immich/sdk --filter immich-web --frozen-lockfile --force install
150152 $STD pnpm --filter @immich/sdk --filter immich-web build
151153 cp -a web/build " $APP_DIR " /www
Original file line number Diff line number Diff line change @@ -280,7 +280,7 @@ GEO_DIR="${INSTALL_DIR}/geodata"
280280mkdir -p " $INSTALL_DIR "
281281mkdir -p {" ${APP_DIR} " ," ${UPLOAD_DIR} " ," ${GEO_DIR} " ," ${INSTALL_DIR} " /cache}
282282
283- fetch_and_deploy_gh_release " immich" " immich-app/immich" " tarball" " v1.139.2 " " $SRC_DIR "
283+ fetch_and_deploy_gh_release " immich" " immich-app/immich" " tarball" " v1.139.4 " " $SRC_DIR "
284284
285285msg_info " Installing ${APPLICATION} (more patience please)"
286286
@@ -290,14 +290,16 @@ export CI=1
290290corepack enable
291291
292292# server build
293+ export SHARP_IGNORE_GLOBAL_LIBVIPS=true
293294$STD pnpm --filter immich --frozen-lockfile build
295+ unset SHARP_IGNORE_GLOBAL_LIBVIPS
296+ export SHARP_FORCE_GLOBAL_LIBVIPS=true
294297$STD pnpm --filter immich --frozen-lockfile --prod --no-optional deploy " $APP_DIR "
295298cp " $APP_DIR " /package.json " $APP_DIR " /bin
296299sed -i ' s|^start|./start|' " $APP_DIR " /bin/immich-admin
297300
298301# openapi & web build
299302cd " $SRC_DIR "
300- export SHARP_FORCE_GLOBAL_LIBVIPS=true
301303$STD pnpm --filter @immich/sdk --filter immich-web --frozen-lockfile --force install
302304$STD pnpm --filter @immich/sdk --filter immich-web build
303305cp -a web/build " $APP_DIR " /www
You can’t perform that action at this time.
0 commit comments