Skip to content

Commit 0e2889c

Browse files
committed
🚀 release clone-repositories.sh + improve docs
1 parent ac2fcc3 commit 0e2889c

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

scripts/clone-repositories-list/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,8 +20,8 @@ _Examples:_
2020
## How to run
2121

2222
- Export the required environment variables:
23-
- `ORG_NAME` = Organization name eg:. `export ORG_NAME=DNXLabs`
24-
- `VCS_URL` = Version control system eg:. `export VCS_URL=github.com`
23+
- `ORG_NAME` = Organization name, this variable is used to compose the repository URL e.g.: `export ORG_NAME=DNXLabs`
24+
- `VCS_URL` = Version control system, this variable is used to compose the repository URL e.g.: `export VCS_URL=github.com`
2525
- From the command line run: `bash clone-repositories.sh "repo-1@1.0.1" repo-2@1.2.1" "repo-3@2.0.3"`
2626

2727
## Versioning

scripts/clone-repositories-list/clone-repositories.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@
22

33
#Checking if necessary environment variables are set
44
if [[ -z "${ORG_NAME}" ]] ; then
5-
echo "ORG_NAME environment variable is not set"
5+
echo "ORG_NAME environment variable is not set, this variable is used to compose the repository URL"
66
exit
77
fi
88

99
if [[ -z "${VCS_URL}" ]] ; then
10-
echo "VCS_URL environment variable is not set"
10+
echo "VCS_URL environment variable is not set, this variable is used to compose the repository URL"
1111
exit
1212
fi
1313

0 commit comments

Comments
 (0)