mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-19 09:25:34 +00:00
[fenix] support-rc-versions (https://github.com/mozilla-mobile/fenix/pull/16929)
This commit is contained in:
parent
f92d2a9ef8
commit
b12174db86
@ -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))
|
||||
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user