Publish the CI only if we are on a dev branch.

If we try to publish all the time, we will conflict with `Release&Nigthly`
workflow as we would pulbish in nigthly directory.

Fix #550
This commit is contained in:
Matthieu Gautier 2022-11-23 16:06:35 +01:00
parent 75ca8dcf2a
commit c27348bde3
1 changed files with 1 additions and 1 deletions

View File

@ -47,5 +47,5 @@ for target in TARGETS:
if PLATFORM_TARGET == "native_mixed" and OS_NAME == "osx":
fix_macos_rpath(target)
archive = make_archive(target, make_release=False)
if archive:
if archive and DEV_BRANCH:
upload_archive(archive, target, make_release=False, dev_branch=DEV_BRANCH)