2 Commits

Author SHA1 Message Date
copilot-swe-agent[bot]
6ed071400a fix update script failure when image tag is missing 2026-07-14 13:06:43 +00:00
copilot-swe-agent[bot]
32f77c7054 Initial plan 2026-07-14 13:03:41 +00:00

View File

@@ -56,11 +56,9 @@ else
fi fi
# Check if user wants to rebuild the bitbetter images # Check if user wants to rebuild the bitbetter images
docker images bitbetter/api --format="{{ .Tag }}" | grep -F -- "${BW_VERSION}" > /dev/null
retval=$?
REBUILD_BB="n" REBUILD_BB="n"
REBUILD_BB_DESCR="[y/N]" REBUILD_BB_DESCR="[y/N]"
if [ $retval -ne 0 ]; then if ! docker images bitbetter/api --format="{{ .Tag }}" | grep -F -- "${BW_VERSION}" > /dev/null; then
REBUILD_BB="y" REBUILD_BB="y"
REBUILD_BB_DESCR="[Y/n]" REBUILD_BB_DESCR="[Y/n]"
fi fi