Fix fsautocomplete artifact url (#401)

This commit is contained in:
Gihyeon Sung
2021-02-24 00:19:40 +09:00
committed by GitHub
parent 0dbed172e6
commit 0e5677d9b2
2 changed files with 2 additions and 2 deletions

View File

@@ -6,7 +6,7 @@ set HASH=d9768135-4646-4839-9eea-b404bb940452/8275e4320514bab636b1627c62906ef9
curl -L -o dotnet-runtime-%VERSION%-win-x64.zip "https://download.visualstudio.microsoft.com/download/pr/%HASH%/dotnet-runtime-%VERSION%-win-x64.zip"
call "%~dp0\run_unzip.cmd" dotnet-runtime-%VERSION%-win-x64.zip
set url=https://ci.appveyor.com/api/projects/fsautocomplete/fsautocomplete/artifacts/bin/pkgs/fsautocomplete.netcore.zip?branch=master
set url=https://github.com/fsharp/FsAutoComplete/releases/latest/download/fsautocomplete.netcore.zip
set zip=fsautocomplete.zip
curl -L %url% -o %zip%

View File

@@ -12,7 +12,7 @@ else
dotnetcmd="\\$DIR/.dotnet/dotnet"
fi
url="https://ci.appveyor.com/api/projects/fsautocomplete/fsautocomplete/artifacts/bin/pkgs/fsautocomplete.netcore.zip?branch=master"
url="https://github.com/fsharp/FsAutoComplete/releases/latest/download/fsautocomplete.netcore.zip"
zip=fsautocomplete.zip
curl -L "$url" -o "$zip"
unzip -o -d "fsautocomplete.netcore" "$zip"