Fix gitHost & co

This commit is contained in:
Quentin 2022-11-13 15:18:12 +01:00
parent 6ea0a3a7f0
commit bd4554f0c7
Signed by: quentin
GPG Key ID: E9602264D639FF68
4 changed files with 5 additions and 6 deletions

View File

@ -1,5 +1,4 @@
.gitignore
.openapi-generator-ignore
.travis.yml
README.md
api/openapi.yaml

View File

@ -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`:

View File

@ -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

2
go.mod
View File

@ -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