2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-19 09:25:34 +00:00
This commit is contained in:
Aki Sasaki 2020-12-08 14:50:20 -08:00 committed by GitHub
parent f92d2a9ef8
commit b12174db86
2 changed files with 5 additions and 0 deletions

View File

@ -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))

View File

@ -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