File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change 119119if ! ` " $EXEC_DIR " /helmfile -v 2> /dev/null | grep -q " $HELMFILE_VER " ` ; then
120120 if ! ` " $CACHE_DIR " /helmfile -v 2> /dev/null | grep -q " $HELMFILE_VER " ` ; then
121121 echo -e " \n${LIGHT_GREEN} Downloading Helmfile binary...${NC} " && \
122- curl -L https://github.com/helmfile/helmfile/releases/download/v" $HELMFILE_VER " /helmfile_" $HELMFILE_VER " _linux_amd64.tar.gz -o " $CACHE_DIR " /helmfile-" $HELMFILE_VER " && \
123- chmod +x " $CACHE_DIR " /helmfile-" $HELMFILE_VER "
124- yes | cp " $CACHE_DIR " /helmfile-" $HELMFILE_VER " " $CACHE_DIR " /helmfile
122+ curl -L https://github.com/helmfile/helmfile/releases/download/v" $HELMFILE_VER " /helmfile_" $HELMFILE_VER " _linux_amd64.tar.gz -o " $CACHE_DIR " /helmfile-" $HELMFILE_VER " .tar.gz && \
123+ tar xf " $CACHE_DIR " /helmfile-" $HELMFILE_VER " .tar.gz -C " $CACHE_DIR " && \
124+ chmod +x " $CACHE_DIR " /helmfile && \
125+ yes | cp " $CACHE_DIR " /helmfile " $CACHE_DIR " /helmfile-" $HELMFILE_VER "
125126 else
126127 yes | cp " $CACHE_DIR " /helmfile-" $HELMFILE_VER " " $CACHE_DIR " /helmfile
127128 fi
You can’t perform that action at this time.
0 commit comments