Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
jamshale committed Apr 15, 2024
1 parent 092c97d commit 4e1ba59
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
3 changes: 2 additions & 1 deletion .github/workflows/release.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -60,6 +60,7 @@ jobs:
available=false
exit 1
fi
echo "Detected aries-cloudagent upgrade available..."
available=true
- name: Update global acapy version
Expand All @@ -68,7 +69,7 @@ jobs:
echo "Update global acapy version"
- name: Run global updates
run: |
cd .. && python repo_manager.py 1
cd .. && python repo_manager.py 3
echo "Upgrade all plugins"
- name: Create Pull Request
env:
Expand Down
7 changes: 5 additions & 2 deletions repo_manager.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,7 +271,7 @@ def is_plugin_directory(plugin_name: str) -> bool:
return os.path.isdir(plugin_name) and plugin_name != GLOBAL_PLUGIN_DIR and not plugin_name.startswith('.')


def main(arg_1):
def main(arg_1 = None):
print("Checking poetry is available...")
response = os.system('which poetry')
if response == "":
Expand Down Expand Up @@ -332,4 +332,7 @@ def main(arg_1):


if __name__ == "__main__":
main(sys.argv[1])
try:
main(sys.argv[1])
except Exception:
main()

0 comments on commit 4e1ba59

Please sign in to comment.