-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
removed global flag on git config to avoid overwriting user git confi…
…g settings
- Loading branch information
CI
committed
Mar 1, 2021
1 parent
c540404
commit c56986d
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -65,8 +65,8 @@ def update_algorithm(algo, original_name, algorithm_pairs, remote_client, worksp | |
git_path = f"https://{algo.username}:{api_key}@git.{api_address.split('https://api.')[-1]}/git/{destination_username}/{destination_algorithm_name}.git" | ||
os.makedirs(artifact_path, exist_ok=True) | ||
os.makedirs(repo_path, exist_ok=True) | ||
sh.git.config("--global", "user.email", "[email protected]") | ||
sh.git.config("--global", "user.name", "CI") | ||
sh.git.config("user.email", "[email protected]") | ||
sh.git.config("user.name", "CI") | ||
clone_bake = sh.git.bake(C=workspace_path) | ||
publish_bake = sh.git.bake(C=repo_path) | ||
clone_bake.clone(git_path) | ||
|