gitlab: update.py: Get go deps for gitlab-shell from the root dir

GitLab Shell now has the go.mod and go.sum files in the root of the
repo; the go subdirectory has been removed and all the code in it has
been moved up to the root.
This commit is contained in:
talyz 2019-12-23 00:26:28 +01:00
parent 445bc1494c
commit a3c72e66a6

View File

@ -195,7 +195,7 @@ def update_gitlab_shell():
for fn in ['go.mod', 'go.sum']:
with open(gitlab_shell_dir / fn, 'w') as f:
f.write(repo.get_file(f"go/{fn}", f"v{gitlab_shell_version}"))
f.write(repo.get_file(fn, f"v{gitlab_shell_version}"))
subprocess.check_output(['vgo2nix'], cwd=gitlab_shell_dir)