Is your feature request related to a problem? Please describe.
The feature request is about CI of the bundles. When we are working on the rc version of MONAI, we will need to update the monai_version in the bundles to target the release candidate.
The issue is we need to update the monai_version every time we have a new rc of monai, even though nothing needs to be changed in the bundle.
Describe the solution you'd like
Add an option use_rc_if_applicable in the CI scripts. When it's false, everything stays as it is. When it's true, it can accept the rc version if the official version is not released yet for CI runs.
For example, in release 1.4, when we want to start the release candidate, we can just put the monai_version in the bundles to 1.4. And the CI will actually install the latest 1.4 rc version.
We can keep the switch false most of the time, and only turn it on when the monai is in rc cycle.
Is your feature request related to a problem? Please describe.
The feature request is about CI of the bundles. When we are working on the rc version of MONAI, we will need to update the
monai_version
in the bundles to target the release candidate.For example, @KumoLiu has this change in her PR: https://github.com/Project-MONAI/model-zoo/pull/575/files
The issue is we need to update the
monai_version
every time we have a new rc of monai, even though nothing needs to be changed in the bundle.Describe the solution you'd like
Add an option
use_rc_if_applicable
in the CI scripts. When it'sfalse
, everything stays as it is. When it'strue
, it can accept the rc version if the official version is not released yet for CI runs.For example, in release 1.4, when we want to start the release candidate, we can just put the
monai_version
in the bundles to1.4
. And the CI will actually install the latest 1.4 rc version.We can keep the switch false most of the time, and only turn it on when the monai is in rc cycle.