Skip to content

Commit

Permalink
Merge pull request rancher#5153 from richard-cox/2-9-branch
Browse files Browse the repository at this point in the history
Branch for 2.9
  • Loading branch information
richard-cox authored Jul 16, 2024
2 parents 60b713b + 3cd6d26 commit ebdb373
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -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",
Expand Down Expand Up @@ -141,4 +141,4 @@
"lib/shared"
]
}
}
}
2 changes: 1 addition & 1 deletion scripts/build-static
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ebdb373

Please sign in to comment.