mirror of
https://github.com/harvester/harvester-ui-extension.git
synced 2025-12-13 13:11:43 +00:00
modify master -> main, latest -> test-relesae
Signed-off-by: andy.lee <andy.lee@suse.com>
This commit is contained in:
parent
0b6569ff64
commit
e236ab2d5f
@ -17,8 +17,8 @@ echo "BRANCH: ${COMMIT_BRANCH:-<none>}"
|
||||
echo "TAG: ${GIT_TAG:-<none>}"
|
||||
DIR=${GIT_TAG:-$COMMIT_BRANCH}
|
||||
|
||||
if [[ "${DIR}" == "master" ]]; then
|
||||
DIR="latest"
|
||||
if [[ "${DIR}" == "main" ]]; then
|
||||
DIR="test-release"
|
||||
fi
|
||||
|
||||
BASE=${BASE:-https://releases.rancher.com/harvester-ui/dashboard/${DIR}}
|
||||
|
||||
@ -4,8 +4,8 @@ yarn --pure-lockfile install
|
||||
|
||||
source scripts/version
|
||||
|
||||
if [[ $COMMIT_BRANCH == "master" ]]; then
|
||||
VERSION="latest"
|
||||
if [[ $COMMIT_BRANCH == "main" ]]; then
|
||||
VERSION="test-release"
|
||||
else
|
||||
VERSION=$COMMIT_BRANCH
|
||||
fi
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user