From c95c4f20c7780d1a0e28698a309cd560f6f8428d Mon Sep 17 00:00:00 2001 From: Phillip Rak Date: Tue, 5 Nov 2024 10:08:13 -0700 Subject: [PATCH] Bump version to `2.10-dev` and branch to `release-2.10` Signed-off-by: Phillip Rak --- README.md | 6 +++--- package.json | 2 +- scripts/build-static | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 8083034ddf..47826a512f 100644 --- a/README.md +++ b/README.md @@ -72,10 +72,10 @@ Rancher UI supports localization via translations files. You can swap translatio If you want to customize the UI, re-packaging all of Rancher to distribute the UI is possible but not terribly convenient. Instead you can change Cattle to load the UI source from a remote web server: - Build with `./scripts/build-static -l -c 'your-server.com'` -- Upload `./dist/static/latest2` so that it's available at https://your-server.com/latest2 +- Upload `./dist/static/release-2.10` so that it's available at https://your-server.com/release-2.10 - It must be available over HTTPS. - - You can rename the "latest2" part with the `-v` flag -- Change the value of https://your-rancher/v3/settings/ui-index to the same `https://your-server.com/latest2` URL + - You can rename the "release-2.10" part with the `-v` flag +- Change the value of https://your-rancher/v3/settings/ui-index to the same `https://your-server.com/release-2.10` URL ### Running Tests diff --git a/package.json b/package.json index 3a4d83a784..cbae26e3d0 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ui", - "version": "master-dev", + "version": "2.10-dev", "private": true, "repository": "https://github.com/rancher/ui", "license": "Apache-2.0", diff --git a/scripts/build-static b/scripts/build-static index b62cb83f7e..7fc85c1c4d 100755 --- a/scripts/build-static +++ b/scripts/build-static @@ -98,7 +98,7 @@ if [[ "${FORCE_VERSION}" != "" ]]; then VERSION=${FORCE_VERSION} else if [[ $LATEST -eq 1 ]]; then - VERSION="latest2" + VERSION="release-2.10" elif [[ "${CI_BRANCH}" != "" ]]; then VERSION=${CI_BRANCH} else