From d758cbbe21c4d97bb2ac64a9c20f309d30110c53 Mon Sep 17 00:00:00 2001 From: npetrill Date: Wed, 20 Nov 2024 13:45:45 -0500 Subject: [PATCH] update config methodVersion --- scripts/firecloud_api/firecloud_api.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/scripts/firecloud_api/firecloud_api.py b/scripts/firecloud_api/firecloud_api.py index 884728d333..4ba1456a33 100644 --- a/scripts/firecloud_api/firecloud_api.py +++ b/scripts/firecloud_api/firecloud_api.py @@ -172,6 +172,9 @@ def upload_test_inputs(self, pipeline_name, test_inputs, branch_name): # update the config with the new branch name print(f"Updating methodVersion with branch name: {branch_name}") config["methodRepoMethod"]["methodVersion"] = branch_name + + # Increment the methodConfigVersion + config["methodConfigVersion"] += 1 # Increment version number by 1 print(f"Updated method configuration: {config}")