Skip to content

Commit 8c796a0

Browse files
authored
Immich: bump to v1.139.4 (#7138)
1 parent b57efdb commit 8c796a0

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

ct/immich.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff 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

install/immich-install.sh

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -280,7 +280,7 @@ GEO_DIR="${INSTALL_DIR}/geodata"
280280
mkdir -p "$INSTALL_DIR"
281281
mkdir -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

285285
msg_info "Installing ${APPLICATION} (more patience please)"
286286

@@ -290,14 +290,16 @@ export CI=1
290290
corepack 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"
295298
cp "$APP_DIR"/package.json "$APP_DIR"/bin
296299
sed -i 's|^start|./start|' "$APP_DIR"/bin/immich-admin
297300

298301
# openapi & web build
299302
cd "$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
303305
cp -a web/build "$APP_DIR"/www

0 commit comments

Comments
 (0)