mirror of
https://github.com/helm/helm.git
synced 2026-05-28 04:35:48 -04:00
feat(checksum): update to get/get-helm-3 to match shasum fix
Noticed get/get-helm-3 needed update to match shasum fix. Making least change to work with shasum fix. Signed-off-by: Thilak Somasundaram <t2same@gmail.com>
This commit is contained in:
parent
96a1434027
commit
5680f4d506
2 changed files with 2 additions and 2 deletions
|
|
@ -137,7 +137,7 @@ downloadFile() {
|
|||
installFile() {
|
||||
HELM_TMP="$HELM_TMP_ROOT/$PROJECT_NAME"
|
||||
local sum=$(openssl sha1 -sha256 ${HELM_TMP_FILE} | awk '{print $2}')
|
||||
local expected_sum=$(cat ${HELM_SUM_FILE})
|
||||
local expected_sum=$(cat ${HELM_SUM_FILE} | awk '{print $1}')
|
||||
if [ "$sum" != "$expected_sum" ]; then
|
||||
echo "SHA sum of ${HELM_TMP_FILE} does not match. Aborting."
|
||||
exit 1
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ downloadFile() {
|
|||
installFile() {
|
||||
HELM_TMP="$HELM_TMP_ROOT/$PROJECT_NAME"
|
||||
local sum=$(openssl sha1 -sha256 ${HELM_TMP_FILE} | awk '{print $2}')
|
||||
local expected_sum=$(cat ${HELM_SUM_FILE})
|
||||
local expected_sum=$(cat ${HELM_SUM_FILE} | awk '{print $1}')
|
||||
if [ "$sum" != "$expected_sum" ]; then
|
||||
echo "SHA sum of ${HELM_TMP_FILE} does not match. Aborting."
|
||||
exit 1
|
||||
|
|
|
|||
Loading…
Reference in a new issue