1
0
mirror of https://github.com/LaCasemate/fab-manager.git synced 2025-02-19 13:54:25 +01:00

[bug] upgrade script report invalid upgrde target

This commit is contained in:
Sylvain 2021-10-04 12:09:31 +02:00
parent 79e0a036ec
commit 842c88e839
2 changed files with 5 additions and 2 deletions

View File

@ -1,6 +1,9 @@
# Changelog Fab-manager
- Fix a bug: the upgrade script report an invalid version to upgrade to
## v5.1.10 2021 October 04
- Fix a bug: the image of the about page is not using the image set in backoffice
- Fix a bug: updated sassc to 2.4.0 to fix ruby runtime error on some CPU architectures (#270)
- Fix a security issue: prevent HTML code edition in projects, to prevent XSS vulnerability (#293)

View File

@ -120,8 +120,8 @@ version_check()
version_error "v4.0.4 first"
elif verlt "$VERSION" 4.4.6 && verlt 4.4.6 "$TARGET"; then
version_error "v4.4.6 first"
elif verlt "$VERSION" 4.7.13 && verlt 4.7.13 "$TARGET"; then
version_error "v4.7.13 first"
elif verlt "$VERSION" 4.7.14 && verlt 4.7.14 "$TARGET"; then
version_error "v4.7.14 first"
elif verlt "$TARGET" "$VERSION"; then
version_error "a version > $VERSION"
fi