Skip to content

Commit

Permalink
fix install.sh
Browse files Browse the repository at this point in the history
  • Loading branch information
joelee2012 committed Dec 26, 2024
1 parent b16ee9e commit f29451a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion install-binary.sh
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
#!/usr/bin/env sh
# this was copied from [email protected]:databus23/helm-diff

set -e
if [ "$HELM_DEBUG" = true ]; then
set -x
env | sort
Expand Down Expand Up @@ -127,7 +129,7 @@ testVersion() {

#Stop execution on any error
trap "exit_trap" EXIT
set -e

initArch
initOS
mkTempDir
Expand Down
4 changes: 2 additions & 2 deletions plugin.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ description: "plugin to clean no updated release"
platformCommand:
- command: "$HELM_PLUGIN_DIR/helm-clean"
hooks:
install: "$HELM_PLUGIN_DIR/install-binary.sh"
update: "$HELM_PLUGIN_DIR/install-binary.sh -u"
install: "cd $HELM_PLUGIN_DIR; $HELM_PLUGIN_DIR/install-binary.sh"
update: "cd $HELM_PLUGIN_DIR; $HELM_PLUGIN_DIR/install-binary.sh -u"

0 comments on commit f29451a

Please sign in to comment.