1 parent 696ef23 commit f705451Copy full SHA for f705451
1 file changed
scripts/install.sh
@@ -30,8 +30,8 @@ echo -e " Detected Platform: ${GREEN}${PLATFORM} (${ARCH})${NC}"
30
echo ""
31
echo " [1/4] Retrieving latest release information..."
32
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"
+if [ -z "$LATEST_TAG" ] || [[ "$LATEST_TAG" == v1.* ]]; then
+ LATEST_TAG="release-2.0.0"
35
fi
36
echo -e " Target Release: ${GREEN}${LATEST_TAG}${NC}"
37
0 commit comments