Skip to content

Commit 2def9f4

Browse files
committed
[ci] Fix escaping for gen_versions_map.sh script
Signed-off-by: kklinch0 <[email protected]>
1 parent 5903bbc commit 2def9f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎hack/gen_versions_map.sh‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ resolved_miss_map=$(
3030
fi
3131
3232
# if commit is not HEAD, check if it's valid
33-
if [ $commit != "HEAD" ]; then
33+
if [ "x$commit" != "xHEAD" ]; then
3434
if [ $(git show "${commit}:./${chart}/Chart.yaml" 2>/dev/null | awk '$1 == "version:" {print $2}') != "${version}" ]; then
3535
echo "Commit $commit for $chart $version is not valid" >&2
3636
exit 1

0 commit comments

Comments
 (0)