Updater bot : fireflyiii updated to 5.7.6

This commit is contained in:
alexbelgium
2022-05-19 01:56:15 +02:00
parent 7a2c25a6c9
commit c7ed83c3c7
4 changed files with 8 additions and 5 deletions

View File

@@ -28,12 +28,12 @@ FROM fireflyiii/core:latest
# # Change data location
# grep -rl "/var/www/html" /etc/ | xargs sed -i 's|/var/www/html|/data/firefly|g'
ARG BUILD_UPSTREAM="5.7.5"
ARG BUILD_UPSTREAM="5.7.6"
RUN \
#################
# Fix for 5.7.5 #
#################
if [ "$BUILD_UPSTREAM" = "5.7.5" ] ; then \
if [ "$BUILD_UPSTREAM" = "5.7.6" ] ; then \
sed -i "s|, \$transaction\[\x27amount\x27\] ?? \x270\x27);|, (string)(\$transaction\[\x27amount\x27\] ?? \x270\x27));|g" /var/www/html/app/Helpers/Collector/GroupCollector.php; else echo "not 5.7.5"; fi
##################