Add gitHost & co

This commit is contained in:
Quentin 2022-11-13 15:17:43 +01:00
parent 97a1ec9712
commit e623338c99
Signed by: quentin
GPG key ID: E9602264D639FF68
2 changed files with 5 additions and 5 deletions

View file

@ -59,11 +59,11 @@ npm run build
#### git
If the library is hosted at a git repository, e.g.https://github.com/GIT_USER_ID/GIT_REPO_ID
If the library is hosted at a git repository, e.g.https://github.com/quentin/garage-admin-sdk-js
then install it via:
```shell
npm install GIT_USER_ID/GIT_REPO_ID --save
npm install quentin/garage-admin-sdk-js --save
```
### For browser

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-js"
echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
fi