Skip to content

Commit

Permalink
Don't try to tag twice
Browse files Browse the repository at this point in the history
  • Loading branch information
azvoleff committed Nov 19, 2022
1 parent e6642af commit 1192ca4
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions tasks.py
Original file line number Diff line number Diff line change
Expand Up @@ -348,10 +348,11 @@ def set_tag(c, ext_libs=False):
)
subprocess.check_call(["git", "push", "origin", "v{}".format(v)])

for module in c.plugin.ext_libs.local_modules:
module_path = Path(module["path"]).parent
print(f"Also setting tag for {module['name']}")
subprocess.check_call(["invoke", "set-tag"], cwd=module_path)
if ext_libs:
for module in c.plugin.ext_libs.local_modules:
module_path = Path(module["path"]).parent
print(f"Also setting tag for {module['name']}")
subprocess.check_call(["invoke", "set-tag"], cwd=module_path)


def check_tecli_python_version():
Expand Down

0 comments on commit 1192ca4

Please sign in to comment.