From fe036183bf4bafddac6febbf263ecdaff333915b Mon Sep 17 00:00:00 2001 From: Robin Adili <robin.adili@inria.fr> Date: Tue, 15 Sep 2020 12:27:30 +0200 Subject: [PATCH] output to file --- taranduploadall.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/taranduploadall.sh b/taranduploadall.sh index 2b0ab1f..58bc89c 100755 --- a/taranduploadall.sh +++ b/taranduploadall.sh @@ -7,5 +7,5 @@ do archive=${a//\//}.tar.gz tar -cvf ${archive} ${a} path=$(curl --request POST --header "PRIVATE-TOKEN: $GITLAB_TOKEN" --form "file=@${archive}" "https://gitlab.inria.fr/api/v4/projects/${projectid}/uploads"|jq '.full_path') - echo "https://gitlab.inria.fr${path//\"/}" + echo "https://gitlab.inria.fr${path//\"/}" >> links done -- GitLab