From bd4554f0c7b8dcad895c47a2e8e10986bcc0980f Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Sun, 13 Nov 2022 15:18:12 +0100 Subject: [PATCH] Fix gitHost & co --- .openapi-generator/FILES | 1 - README.md | 2 +- git_push.sh | 6 +++--- go.mod | 2 +- 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/.openapi-generator/FILES b/.openapi-generator/FILES index a9b98fc..e7ad1c0 100644 --- a/.openapi-generator/FILES +++ b/.openapi-generator/FILES @@ -1,5 +1,4 @@ .gitignore -.openapi-generator-ignore .travis.yml README.md api/openapi.yaml diff --git a/README.md b/README.md index 3061588..2ec14f9 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ go get golang.org/x/net/context Put the package under your project folder and add the following in import: ```golang -import garage "github.com/GIT_USER_ID/GIT_REPO_ID" +import garage "git.deuxfleurs.fr/quentin/garage-admin-sdk-golang" ``` To use a proxy, set the environment variable `HTTP_PROXY`: diff --git a/git_push.sh b/git_push.sh index f53a75d..eac635f 100644 --- a/git_push.sh +++ b/git_push.sh @@ -9,17 +9,17 @@ release_note=$3 git_host=$4 if [ "$git_host" = "" ]; then - git_host="github.com" + git_host="git.deuxfleurs.fr" echo "[INFO] No command line input provided. Set \$git_host to $git_host" fi if [ "$git_user_id" = "" ]; then - git_user_id="GIT_USER_ID" + git_user_id="quentin" echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id" fi if [ "$git_repo_id" = "" ]; then - git_repo_id="GIT_REPO_ID" + git_repo_id="garage-admin-sdk-golang" echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id" fi diff --git a/go.mod b/go.mod index ead3260..4472733 100644 --- a/go.mod +++ b/go.mod @@ -1,4 +1,4 @@ -module github.com/GIT_USER_ID/GIT_REPO_ID +module git.deuxfleurs.fr/quentin/garage-admin-sdk-golang go 1.13