diff --git a/ci_release_tools b/ci_release_tools index e9a0604..7c1ead1 160000 --- a/ci_release_tools +++ b/ci_release_tools @@ -1 +1 @@ -Subproject commit e9a060433a1e4f9300741f9ed134dde53559d1f5 +Subproject commit 7c1ead1caa32f02643878766928847c8c6b36aa5 diff --git a/update_all.py b/update_all.py index 9408127..8f6dbe5 100755 --- a/update_all.py +++ b/update_all.py @@ -5,6 +5,9 @@ import sys, os +from pathlib import Path +sys.path.append(str(Path(__file__).parent / "ci_release_tools" / "src")) + from ci_release_tools.src.utils import * from brew_utils import * diff --git a/update_one.py b/update_one.py index 6436f89..4d1f729 100755 --- a/update_one.py +++ b/update_one.py @@ -10,9 +10,14 @@ # to open a PR against your test tap: # ./update.py kdreports-qt5.rb 2.3.0 --pr iamsergio/homebrew-tap --remote sergio -import argparse, os +import argparse, os, sys import hashlib + +from pathlib import Path +sys.path.append(str(Path(__file__).parent / "ci_release_tools" / "src")) + from ci_release_tools.src.utils import * +from brew_utils import * # Returns the sha256 of the .tar.gz file def get_tarball_sha256(url):