diff --git a/taskcluster/fenix_taskgraph/parameters.py b/taskcluster/fenix_taskgraph/parameters.py index 670ed6e003..ba88fa2ee4 100644 --- a/taskcluster/fenix_taskgraph/parameters.py +++ b/taskcluster/fenix_taskgraph/parameters.py @@ -48,6 +48,9 @@ def get_decision_parameters(graph_config, parameters): elif version.is_release: next_version = version.bump("patch_number") release_type = "release" + elif version.is_release_candidate: + next_version = version.bump("release_candidate_number") + release_type = "release" else: raise ValueError("Unsupported version type: {}".format(version.version_type)) diff --git a/taskcluster/fenix_taskgraph/release_promotion.py b/taskcluster/fenix_taskgraph/release_promotion.py index ce668718bc..1bf06112aa 100644 --- a/taskcluster/fenix_taskgraph/release_promotion.py +++ b/taskcluster/fenix_taskgraph/release_promotion.py @@ -155,6 +155,8 @@ def release_promotion_action(parameters, graph_config, input, task_group_id, tas release_type = "beta" elif version.is_release: release_type = "release" + elif version.is_release_candidate: + release_type = "release" else: raise ValueError("Unsupported version type: {}".format(version.version_type)) parameters['release_type'] = release_type