-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6f1083f
commit 98333be
Showing
1 changed file
with
2 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,13 @@ | ||
#!/usr/bin/env sh | ||
# this was copied from [email protected]:databus23/helm-diff | ||
if [ -n "$HELM_DEBUG" ]; then | ||
if [ "$HELM_DEBUG" = true ]; then | ||
set -x | ||
env | sort | ||
fi | ||
|
||
REPO_URL=$(git remote get-url origin) | ||
PROJECT_NAME=${HELM_PLUGIN_DIR##*/} | ||
PROJECT_GH=$(echo "${REPO_URL##*:}" | sed -r 's!.*://[^/]*/([^.]*).*!\1!g') | ||
PROJECT_GH=$(echo "${REPO_URL##*:}" | sed -r 's!.git$!!g') | ||
export GREP_COLOR="never" | ||
|
||
# Convert HELM_BIN and HELM_PLUGIN_DIR to unix if cygpath is | ||
|