Fix logic for --no-prestable

This commit is contained in:
Mikhail f. Shiryaev 2022-03-17 16:50:20 +01:00
parent 92ab33f560
commit d593fda8d5
No known key found for this signature in database
GPG Key ID: 4B02ED204C7D93F4

View File

@ -100,10 +100,10 @@ class Release:
if self.release_type in self.BIG: if self.release_type in self.BIG:
# Checkout to the commit, it will provide the correct current version # Checkout to the commit, it will provide the correct current version
if with_prestable: if with_prestable:
logging.info("Skipping prestable stage")
else:
with self.prestable(): with self.prestable():
logging.info("Prestable part of the releasing is done") logging.info("Prestable part of the releasing is done")
else:
logging.info("Skipping prestable stage")
with self.testing(): with self.testing():
logging.info("Testing part of the releasing is done") logging.info("Testing part of the releasing is done")