From d66b3aee61908742aac398a8daa6f0b0e131d47a Mon Sep 17 00:00:00 2001 From: odrling <florianbadie@odrling.xyz> Date: Wed, 16 Oct 2019 00:03:25 +0200 Subject: [PATCH] [ci] remove .exe at end of link [skip ci] Seems like it triggers a download for some browsers... --- .ci/upload_win_installer.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.ci/upload_win_installer.sh b/.ci/upload_win_installer.sh index 3b2ea4aff..3550d7779 100644 --- a/.ci/upload_win_installer.sh +++ b/.ci/upload_win_installer.sh @@ -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/" -- GitLab