Skip to content

Commit

Permalink
fix: cache directory path always in PATH env (#99)
Browse files Browse the repository at this point in the history
  • Loading branch information
Xplouder authored Feb 2, 2022
1 parent 1fa3377 commit 974a695
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cr.sh
Original file line number Diff line number Diff line change
Expand Up @@ -193,10 +193,10 @@ install_chart_releaser() {
curl -sSLo cr.tar.gz "https://github.com/helm/chart-releaser/releases/download/$version/chart-releaser_${version#v}_linux_amd64.tar.gz"
tar -xzf cr.tar.gz -C "$cache_dir"
rm -f cr.tar.gz

echo 'Adding cr directory to PATH...'
export PATH="$cache_dir:$PATH"
fi

echo 'Adding cr directory to PATH...'
export PATH="$cache_dir:$PATH"
}

lookup_latest_tag() {
Expand Down

0 comments on commit 974a695

Please sign in to comment.