add auth support
This commit is contained in:
@@ -46,7 +46,7 @@ def make_zip(repo_path: Path, output_zip: Path) -> None:
|
||||
zf.write(abs_path, arcname=rel_path)
|
||||
|
||||
print(f"Utworzono archiwum: {output_zip}")
|
||||
print(f"Dodano plików: {len(files)}")
|
||||
print(f"Added files: {len(files)}")
|
||||
|
||||
|
||||
def main():
|
||||
@@ -60,7 +60,7 @@ def main():
|
||||
try:
|
||||
run_git_command(["rev-parse", "--show-toplevel"], repo_path)
|
||||
except subprocess.CalledProcessError:
|
||||
print("Błąd: ten katalog nie jest repozytorium Git.", file=sys.stderr)
|
||||
print("Error: this directory is not a Git repository.", file=sys.stderr)
|
||||
sys.exit(1)
|
||||
|
||||
make_zip(repo_path, output_zip)
|
||||
|
||||
Reference in New Issue
Block a user