Fixed an issue where the update_version_string.sh script would not update the Info.plist file correctly

This commit is contained in:
Leon Styhre 2025-03-31 17:06:37 +02:00
parent 799fb476b6
commit d934c50f1c

View file

@ -53,7 +53,7 @@ mv $TEMPFILE $MODIFYFILE
##### ES-DE_Info.plist ##### ES-DE_Info.plist
MODIFYFILE=../es-app/assets/ES-DE_Info.plist MODIFYFILE=../es-app/assets/ES-DE_Info.plist
MODIFYSTRING=$(grep "<string>ES-DE " $MODIFYFILE) MODIFYSTRING=$(grep "<string>ES-DE [[:digit:]]" $MODIFYFILE)
OLDVERSION=$(echo $MODIFYSTRING | cut -f4 -d" " | sed s/".........$"//) OLDVERSION=$(echo $MODIFYSTRING | cut -f4 -d" " | sed s/".........$"//)
MODIFYSTRING=$(echo $MODIFYSTRING | sed s/".........$"//) MODIFYSTRING=$(echo $MODIFYSTRING | sed s/".........$"//)
NEWSTRING="<string>ES-DE ${1}.${2}.${3}" NEWSTRING="<string>ES-DE ${1}.${2}.${3}"