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 .gitignore
.openapi-generator-ignore
.travis.yml .travis.yml
README.md README.md
api/openapi.yaml 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: Put the package under your project folder and add the following in import:
```golang ```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`: To use a proxy, set the environment variable `HTTP_PROXY`:

View file

@ -9,17 +9,17 @@ release_note=$3
git_host=$4 git_host=$4
if [ "$git_host" = "" ]; then 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" echo "[INFO] No command line input provided. Set \$git_host to $git_host"
fi fi
if [ "$git_user_id" = "" ]; then 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" echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
fi fi
if [ "$git_repo_id" = "" ]; then 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" echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
fi 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 go 1.13