[trivial] Utils: ignore 'to-be-released' tag value

This tag value is used to set up configuration.yaml
before governance tag activity.

Executing "tox -evenv -- check-candidacy change_id" command
without this patch generates 404 error since there is no way to retrieve
projects.yaml file from governance repository tag the tag value.

Change-Id: Ic9cbe5c64d8a3388fd17a70fa20fda698606377b
This commit is contained in:
Ian Y. Choi 2024-08-27 23:03:27 +09:00
parent b8314ae84e
commit 9e43b43b32

View File

@ -252,7 +252,7 @@ def check_ac_date(ac):
def _get_projects(tag=None):
if tag:
if tag and tag != 'to-be-released':
url = PROJECTS_URL % '/'.join(('tag', tag))
cache_file = '.projects.%s.pkl' % tag
else: