From 3cd6d26253335773b60fe5a859ab3c60e6590d15 Mon Sep 17 00:00:00 2001 From: Richard Cox Date: Tue, 16 Jul 2024 16:40:12 +0100 Subject: [PATCH] Branch for 2.9 --- README.md | 6 +++--- package.json | 4 ++-- scripts/build-static | 2 +- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 8083034ddf..4277d03623 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.9` so that it's available at https://your-server.com/release-2.9 - 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.9" 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.9` URL ### Running Tests diff --git a/package.json b/package.json index fcde74e3ce..a4f8b2ee2b 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "ui", - "version": "master-dev", + "version": "2.9-dev", "private": true, "repository": "https://github.com/rancher/ui", "license": "Apache-2.0", @@ -141,4 +141,4 @@ "lib/shared" ] } -} \ No newline at end of file +} diff --git a/scripts/build-static b/scripts/build-static index b62cb83f7e..60fee32c91 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.9" elif [[ "${CI_BRANCH}" != "" ]]; then VERSION=${CI_BRANCH} else