Add gitHost & co
This commit is contained in:
parent
97a1ec9712
commit
e623338c99
2 changed files with 5 additions and 5 deletions
|
@ -59,11 +59,11 @@ npm run build
|
||||||
|
|
||||||
#### git
|
#### 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:
|
then install it via:
|
||||||
|
|
||||||
```shell
|
```shell
|
||||||
npm install GIT_USER_ID/GIT_REPO_ID --save
|
npm install quentin/garage-admin-sdk-js --save
|
||||||
```
|
```
|
||||||
|
|
||||||
### For browser
|
### For browser
|
||||||
|
|
|
@ -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-js"
|
||||||
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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue