ci: don't publish ivy build artifacts on a non-master branch
This commit is contained in:

committed by
Alex Rickabaugh

parent
ce6948fc1b
commit
07b89902d5
@ -123,7 +123,11 @@ function publishAllBuilds() {
|
||||
local latestTag=`getLatestTag`
|
||||
|
||||
publishPackages $GIT_SCHEME dist/packages-dist $CUR_BRANCH "${latestTag}+${shortSha}"
|
||||
publishPackages $GIT_SCHEME dist/packages-dist-ivy-aot "${CUR_BRANCH}-ivy-aot" "${latestTag}-ivy-aot+${shortSha}"
|
||||
|
||||
# don't publish ivy builds on non-master branch
|
||||
if [[ "${CI_BRANCH-}" == "master" ]]; then
|
||||
publishPackages $GIT_SCHEME dist/packages-dist-ivy-aot "${CUR_BRANCH}-ivy-aot" "${latestTag}-ivy-aot+${shortSha}"
|
||||
fi
|
||||
}
|
||||
|
||||
# See docs/DEVELOPER.md for help
|
||||
|
Reference in New Issue
Block a user