update get_github_package_download_url helper (#5051)

This commit is contained in:
Dibir Magomedsaygitov
2022-02-09 15:52:28 +03:00
committed by GitHub
parent a9fba6b110
commit 52011e5c44
4 changed files with 8 additions and 9 deletions
+1 -1
View File
@@ -2,7 +2,7 @@
source ~/utils/utils.sh
echo "Get the latest Stack version..."
stackDownloadUrl=$(get_github_package_download_url "commercialhaskell" "stack" "contains(\"osx-x86_64.tar.gz\")" "latest" "$API_PAT")
stackDownloadUrl=$(get_github_package_download_url "commercialhaskell/stack" "contains(\"osx-x86_64.tar.gz\")" "latest" "$API_PAT")
stackVersion=$(echo $stackDownloadUrl | cut -d "/" -f8 | tr -d "v")
stackArchive="/tmp/stack.tar.gz"