fix: bash if issue

This commit is contained in:
SinTan1729 2024-03-10 18:44:11 -05:00
parent bf0944a5fd
commit aa097ad982
No known key found for this signature in database
GPG Key ID: EB3E68BFBA25C85F

View File

@ -16,7 +16,7 @@ done
echo "Do you want to push these to Docker Hub?" echo "Do you want to push these to Docker Hub?"
select yn in "Yes" "No"; select yn in "Yes" "No";
do do
if [ "$yn" = "Yes" ]; then if [ "$yn"="Yes" ]; then
for tag in latest $v_patch $v_minor $v_major; for tag in latest $v_patch $v_minor $v_major;
do do
docker push sintan1729/$name:$tag docker push sintan1729/$name:$tag