Check from Type==stable instead of BuildStamp
make_hlt_rep.py checks AtlasBuildStamp
to determine whether or not a release is a nightly, to then set atlas_version appropriately. With the newer AtlasSetup however this variable is also set for stable releases, which leads to atlas_version being set incorrectly. As an alternative we move the check in make_hlt_rep to read AtlasReleaseType
, which lists nightly or stable.
This is relevant for setting up partitions in testbed/P1, cfr. ATR-19521/ATR-19705.
Edited by Sara Alderweireldt