[ci] remove .exe at end of link [skip ci]

Seems like it triggers a download for some browsers...
This commit is contained in:
odrling 2019-10-16 00:03:25 +02:00
parent ee19a981d9
commit d66b3aee61
1 changed files with 2 additions and 2 deletions

View File

@ -10,5 +10,5 @@ printf "${tag#v}\n$(git tag -l --format='%(contents)' $tag)" > latest
curl -T latest --user "$FTP_USER:$FTP_PASS" "$dest/"
url="Aegisub-Japan7-${tag#v}-x64.exe"
printf "<!doctype html><html><head><meta http-equiv='refresh' content='0; url=$url' /></head><body><a href='$url'>$url</a></body></html>" > Aegisub-Japan7-latest-x64.exe
curl -T Aegisub-Japan7-latest-x64.exe --user "$FTP_USER:$FTP_PASS" "$dest/"
printf "<!doctype html><html><head><meta http-equiv='refresh' content='0; url=$url' /></head><body><a href='$url'>$url</a></body></html>" > Aegisub-Japan7-latest-x64
curl -T Aegisub-Japan7-latest-x64 --user "$FTP_USER:$FTP_PASS" "$dest/"