File tree Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Expand file tree Collapse file tree 1 file changed +3
-1
lines changed Original file line number Diff line number Diff line change 55# License: BSD-3-Clause-LBNL
66
77import argparse
8+ import copy
89import datetime
910import json
1011import os
@@ -83,6 +84,7 @@ def update(args):
8384 tags_response = requests .get (repo_subdict ["tags" ])
8485 tags_list = tags_response .json ()
8586 # filter out old-format tags for specific repositories
87+ tags_list_filtered = copy .deepcopy (tags_list )
8688 if repo_name == "amrex" :
8789 tags_list_filtered = [
8890 tag_dict
@@ -108,7 +110,7 @@ def update(args):
108110 if repo_name != "warpx" :
109111 print (f"- old commit: { dependencies_data [commit_key ]} " )
110112 print (f"- new commit: { new_commit_sha } " )
111- if dependencies_data [commit_key ] == repo_commit_sha :
113+ if dependencies_data [commit_key ] == new_commit_sha :
112114 print ("Skipping commit update..." )
113115 else :
114116 print ("Updating commit..." )
You can’t perform that action at this time.
0 commit comments