Skip to content

Commit f705451

Browse files
committed
chore(installer): update fallback tag to release-2.0.0
1 parent 696ef23 commit f705451

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/install.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ echo -e " Detected Platform: ${GREEN}${PLATFORM} (${ARCH})${NC}"
3030
echo ""
3131
echo " [1/4] Retrieving latest release information..."
3232
LATEST_TAG=$(curl -s "https://api.github.com/repos/Tcode-Motion/techscript/releases/latest" | grep -Po '"tag_name": "\K[^"]*' || true)
33-
if [ -z "$LATEST_TAG" ]; then
34-
LATEST_TAG="v2.0.0"
33+
if [ -z "$LATEST_TAG" ] || [[ "$LATEST_TAG" == v1.* ]]; then
34+
LATEST_TAG="release-2.0.0"
3535
fi
3636
echo -e " Target Release: ${GREEN}${LATEST_TAG}${NC}"
3737

0 commit comments

Comments
 (0)