1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-09-16 09:26:28 +02:00

Update install_vcpkg_dependencies.sh

This commit is contained in:
George King
2025-07-19 08:17:41 +02:00
committed by GitHub
parent 040254f467
commit 0fcc50dc3a

View File

@@ -3,7 +3,9 @@
REPO="vcmi"
# Fetch latest release tag from GitHub API
RELEASE_TAG=$(curl -s "https://api.github.com/repos/$REPO/vcmi-deps-windows/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
# RELEASE_TAG=$(curl -s "https://api.github.com/repos/$REPO/vcmi-deps-windows/releases/latest" | grep '"tag_name":' | sed -E 's/.*"([^"]+)".*/\1/')
RELEASE_TAG="v1.8"
DEP_FILENAME="dependencies-$1"
DEP_URL="https://github.com/$REPO/vcmi-deps-windows/releases/download/$RELEASE_TAG/$DEP_FILENAME.txz"