modify master -> main, latest -> test-relesae

Signed-off-by: andy.lee <andy.lee@suse.com>
This commit is contained in:
andy.lee
2025-01-06 16:57:30 +08:00
parent 0b6569ff64
commit e236ab2d5f
2 changed files with 4 additions and 4 deletions
+2 -2
View File
@@ -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