This is an automated email from the ASF dual-hosted git repository.
jstastnycz pushed a commit to branch main
in repository
https://gitbox.apache.org/repos/asf/incubator-kie-kogito-images.git
The following commit(s) were added to refs/heads/main by this push:
new b716f854 kie-issues#759: make git clone pattern more robust
b716f854 is described below
commit b716f85425c1261ddb15263bbb48387e36f47623
Author: jstastny-cz <[email protected]>
AuthorDate: Tue Dec 12 10:55:07 2023 +0100
kie-issues#759: make git clone pattern more robust
---
scripts/common.py | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/scripts/common.py b/scripts/common.py
index 682a19a7..e0659e81 100644
--- a/scripts/common.py
+++ b/scripts/common.py
@@ -449,8 +449,8 @@ def update_examples_uri_in_clone_repo(examples_uri):
:param examples_uri: kogito-examples uri
"""
print("Set examples_uri {} in clone-repo script".format(examples_uri))
- pattern = re.compile(r'(git clone.*)')
- replacement = "git clone {} kogito-examples".format(examples_uri)
+ pattern = re.compile(r'(git clone \S+)')
+ replacement = "git clone {}".format(examples_uri)
update_in_file(CLONE_REPO_SCRIPT, pattern, replacement)
def update_maven_repo_in_build_config(repo_url, replace_default_repository):
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]