Skip to content

Commit c76ea0c

Browse files
committed
Better upgrade error handling
1 parent 8a588c7 commit c76ea0c

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

Taskfile.yml

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -113,10 +113,13 @@ tasks:
113113
if [ -f VERSION ] && [ "$(cat VERSION)" = "$VERSION" ]; then
114114
echo ""
115115
echo "===================================================="
116-
echo "It looks like version $VERSION is already installed."
117-
echo "To set the version you want to upgrade to, edit the VERSION value in .env."
116+
echo "Upgrading to release $VERSION..."
117+
echo "Ups! It looks like release $VERSION is the version currently installed."
118+
echo ""
119+
echo "Check out if there is a later release here: https://github.com/OS2borgerPC/os2borgerpc-admin-site/pkgs/container/os2borgerpc-admin-site"
120+
echo "Edit VERSION in .env with the release tag you want to upgrade to. Then re-run task upgrade."
118121
echo "===================================================="
119-
exit 0
122+
exit 1
120123
fi
121124
echo ""
122125
echo "===================================================="

0 commit comments

Comments
 (0)