Skip to content

High performance self-hosted photo and video management solution.

chore: pump the pump script (#21122)

Alexdc5a0f8c335c
diff --git a/cli/package.json b/cli/package.json
index 4b3782ea01..bb44e4c661 100644
--- a/cli/package.json
+++ b/cli/package.json
@@ -1,6 +1,6 @@
{
"name": "@immich/cli",
- "version": "2.2.79",
+ "version": "2.2.80",
"description": "Command Line Interface (CLI) for Immich",
"type": "module",
"exports": "./dist/index.js",
diff --git a/docs/static/archived-versions.json b/docs/static/archived-versions.json
index d3b0b41455..9a1263ec14 100644
--- a/docs/static/archived-versions.json
+++ b/docs/static/archived-versions.json
@@ -1,4 +1,8 @@
[
+ {
+ "label": "v1.139.0",
+ "url": "https://v1.139.0.archive.immich.app"
+ },
{
"label": "v1.138.1",
"url": "https://v1.138.1.archive.immich.app"
diff --git a/e2e/package.json b/e2e/package.json
index fc87907171..8d167879d0 100644
--- a/e2e/package.json
+++ b/e2e/package.json
@@ -1,6 +1,6 @@
{
"name": "immich-e2e",
- "version": "1.138.1",
+ "version": "1.139.0",
"description": "",
"main": "index.js",
"type": "module",
diff --git a/misc/release/pump-version.sh b/misc/release/pump-version.sh
index e7fbae34dc..789805255b 100755
--- a/misc/release/pump-version.sh
+++ b/misc/release/pump-version.sh
@@ -61,18 +61,25 @@ fi
if [ "$CURRENT_SERVER" != "$NEXT_SERVER" ]; then
echo "Pumping Server: $CURRENT_SERVER => $NEXT_SERVER"
- npm --prefix server version "$SERVER_PUMP"
- npm --prefix server ci
- npm --prefix server run build
+ jq --arg version "$NEXT_SERVER" '.version = $version' server/package.json > server/package.json.tmp && mv server/package.json.tmp server/package.json
+ pnpm install --frozen-lockfile --prefix server
+ pnpm --prefix server run build
+
make open-api
- npm --prefix open-api/typescript-sdk version "$SERVER_PUMP"
+
+ jq --arg version "$NEXT_SERVER" '.version = $version' open-api/typescript-sdk/package.json > open-api/typescript-sdk/package.json.tmp && mv open-api/typescript-sdk/package.json.tmp open-api/typescript-sdk/package.json
+
# TODO use $SERVER_PUMP once we pass 2.2.x
- npm --prefix cli version patch
- npm --prefix cli i --package-lock-only
- npm --prefix web version "$SERVER_PUMP"
- npm --prefix web i --package-lock-only
- npm --prefix e2e version "$SERVER_PUMP"
- npm --prefix e2e i --package-lock-only
+ CURRENT_CLI_VERSION=$(jq -r '.version' cli/package.json)
+ CLI_PATCH_VERSION=$(echo "$CURRENT_CLI_VERSION" | awk -F. '{print $1"."$2"."($3+1)}')
+ jq --arg version "$CLI_PATCH_VERSION" '.version = $version' cli/package.json > cli/package.json.tmp && mv cli/package.json.tmp cli/package.json
+ pnpm install --frozen-lockfile --prefix cli
+
+ jq --arg version "$NEXT_SERVER" '.version = $version' web/package.json > web/package.json.tmp && mv web/package.json.tmp web/package.json
+ pnpm install --frozen-lockfile --prefix web
+
+ jq --arg version "$NEXT_SERVER" '.version = $version' e2e/package.json > e2e/package.json.tmp && mv e2e/package.json.tmp e2e/package.json
+ pnpm install --frozen-lockfile --prefix e2e
uvx --from=toml-cli toml set --toml-path=pyproject.toml project.version "$SERVER_PUMP"
fi
diff --git a/mobile/android/fastlane/Fastfile b/mobile/android/fastlane/Fastfile
index efe0bd6810..f0314d0dd5 100644
--- a/mobile/android/fastlane/Fastfile
+++ b/mobile/android/fastlane/Fastfile
@@ -35,8 +35,8 @@ platform :android do
task: 'bundle',
build_type: 'Release',
properties: {
- "android.injected.version.code" => 3004,
- "android.injected.version.name" => "1.138.1",
+ "android.injected.version.code" => 3005,
+ "android.injected.version.name" => "1.139.0",
}
)
upload_to_play_store(skip_upload_apk: true, skip_upload_images: true, skip_upload_screenshots: true, aab: '../build/app/outputs/bundle/release/app-release.aab')
diff --git a/mobile/ios/fastlane/Fastfile b/mobile/ios/fastlane/Fastfile
index 758930ff28..c8fb77669c 100644
--- a/mobile/ios/fastlane/Fastfile
+++ b/mobile/ios/fastlane/Fastfile
@@ -22,7 +22,7 @@ platform :ios do
path: "./Runner.xcodeproj",
)
increment_version_number(
- version_number: "1.138.1"
+ version_number: "1.139.0"
)
increment_build_number(
build_number: latest_testflight_build_number + 1,
diff --git a/mobile/openapi/README.md b/mobile/openapi/README.md
index d07f13f7a3..3b97fa4b6f 100644
--- a/mobile/openapi/README.md
+++ b/mobile/openapi/README.md
@@ -3,7 +3,7 @@ Immich API
This Dart package is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
-- API version: 1.138.1
+- API version: 1.139.0
- Generator version: 7.8.0
- Build package: org.openapitools.codegen.languages.DartClientCodegen
diff --git a/mobile/pubspec.yaml b/mobile/pubspec.yaml
index 63e8e1e03c..294bb737dd 100644
--- a/mobile/pubspec.yaml
+++ b/mobile/pubspec.yaml
@@ -2,7 +2,7 @@ name: immich_mobile
description: Immich - selfhosted backup media file on mobile phone
publish_to: 'none'
-version: 1.138.1+3004
+version: 1.139.0+3005
environment:
sdk: '>=3.8.0 <4.0.0'
diff --git a/open-api/immich-openapi-specs.json b/open-api/immich-openapi-specs.json
index 96c42f981e..3ef8840c2a 100644
--- a/open-api/immich-openapi-specs.json
+++ b/open-api/immich-openapi-specs.json
@@ -9592,7 +9592,7 @@
"info": {
"title": "Immich",
"description": "Immich API",
- "version": "1.138.1",
+ "version": "1.139.0",
"contact": {}
},
"tags": [],
diff --git a/open-api/typescript-sdk/package.json b/open-api/typescript-sdk/package.json
index f28b9acc99..c52a1ac722 100644
--- a/open-api/typescript-sdk/package.json
+++ b/open-api/typescript-sdk/package.json
@@ -1,6 +1,6 @@
{
"name": "@immich/sdk",
- "version": "1.138.1",
+ "version": "1.139.0",
"description": "Auto-generated TypeScript SDK for the Immich API",
"type": "module",
"main": "./build/index.js",
diff --git a/open-api/typescript-sdk/src/fetch-client.ts b/open-api/typescript-sdk/src/fetch-client.ts
index 6dd0a5c622..e0452739e9 100644
--- a/open-api/typescript-sdk/src/fetch-client.ts
+++ b/open-api/typescript-sdk/src/fetch-client.ts
@@ -1,6 +1,6 @@
/**
* Immich
- * 1.138.1
+ * 1.139.0
* DO NOT MODIFY - This file has been generated using oazapfts.
* See https://www.npmjs.com/package/oazapfts
*/
diff --git a/server/package.json b/server/package.json
index 72c4d49224..366094f22b 100644
--- a/server/package.json
+++ b/server/package.json
@@ -1,6 +1,6 @@
{
"name": "immich",
- "version": "1.138.1",
+ "version": "1.139.0",
"description": "",
"author": "",
"private": true,
diff --git a/web/package.json b/web/package.json
index 6bad8631a7..0543fbdcc5 100644
--- a/web/package.json
+++ b/web/package.json
@@ -1,6 +1,6 @@
{
"name": "immich-web",
- "version": "1.138.1",
+ "version": "1.139.0",
"license": "GNU Affero General Public License version 3",
"type": "module",
"scripts": {