Skip to content

Commit

Permalink
Merge pull request #26 from jasonyang-ee/7.3
Browse files Browse the repository at this point in the history
Add: move git TLS bypass to all
  • Loading branch information
jasonyang-ee authored Jan 9, 2024
2 parents 2203003 + d1ae50e commit d6cd17b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,8 @@
- `7.0`: Using better argrument parser. *API NOT COMPATIBLE WITH PREVIOUS VERSION*
- `7.1`: Bug fixs. Help menu update.
- `7.2`: Typo fixs.
- `Latest`: `7.1`
- `7.3`: Move TLS bypass to top and apply to all situations.
- `Latest`: `7.3`



Expand Down
4 changes: 3 additions & 1 deletion build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,9 @@ if [[ $HELP == true ]]; then
exit 0
fi

# Accept internal github server with self https certs
git config --global http.sslverify false

# Check if running in Github Action
if [[ $GITHUB_ACTIONS == true ]]; then
VOLUME=$GITHUB_WORKSPACE
Expand All @@ -92,7 +95,6 @@ fi
# Check for repo
if [[ ! -z $REPO ]]; then
git clone $REPO $VOLUME
git config --global http.sslverify false # Accept internal github server with self https certs
fi

# Check if project exists in volume
Expand Down

0 comments on commit d6cd17b

Please sign in to comment.