Fix gitHost & co
This commit is contained in:
parent
6ea0a3a7f0
commit
bd4554f0c7
4 changed files with 5 additions and 6 deletions
|
@ -1,5 +1,4 @@
|
|||
.gitignore
|
||||
.openapi-generator-ignore
|
||||
.travis.yml
|
||||
README.md
|
||||
api/openapi.yaml
|
||||
|
|
|
@ -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`:
|
||||
|
|
|
@ -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
2
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
|
||||
|
||||
|
|
Loading…
Reference in a new issue