Bug 1412690 - fennec version bump in-tree task. r=aki
This patch adds the initial `release-version-bump` kind, and adds it to the `publish_fennec` `target_tasks_method`. It also adds support for `next_version`. MozReview-Commit-ID: 9YRswddeuZ3
This commit is contained in:
@@ -414,6 +414,9 @@ def get_release_config(config, force=False):
|
||||
"""
|
||||
release_config = {}
|
||||
if force or config.params['target_tasks_method'] in BEETMOVER_RELEASE_TARGET_TASKS:
|
||||
next_version = str(os.environ.get("NEXT_VERSION", ""))
|
||||
if next_version != "":
|
||||
release_config['next_version'] = next_version
|
||||
build_number = str(os.environ.get("BUILD_NUMBER", 1))
|
||||
if not build_number.isdigit():
|
||||
raise ValueError("Release graphs must specify `BUILD_NUMBER` in the environment!")
|
||||
|
||||
Reference in New Issue
Block a user