Modify build-package branch master to main

Signed-off-by: Yang Jiao <jiaoya@vmware.com>
This commit is contained in:
Yang Jiao 2021-12-07 17:01:11 +08:00
parent a234fee730
commit 367dd02ef8

View File

@ -11,9 +11,9 @@ function uploader {
function publishImage { function publishImage {
echo "Publishing images to Docker Hub..." echo "Publishing images to Docker Hub..."
echo "The images on the host:" echo "The images on the host:"
# for master, will use 'dev' as the tag name # for main, will use 'dev' as the tag name
# for release-*, will use 'release-*-dev' as the tag name, like release-v1.8.0-dev # for release-*, will use 'release-*-dev' as the tag name, like release-v1.8.0-dev
if [[ $1 == "master" ]]; then if [[ $1 == "main" ]]; then
image_tag=dev image_tag=dev
fi fi
if [[ $1 == "release-"* ]]; then if [[ $1 == "release-"* ]]; then