From eab9e2cc096e657a59a8c546377aa68e5ac6f7b5 Mon Sep 17 00:00:00 2001 From: odrling Date: Sat, 31 Aug 2019 17:06:14 +0200 Subject: [PATCH] fix upload script --- .ci/upload_win_installer.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.ci/upload_win_installer.sh b/.ci/upload_win_installer.sh index 15b7a11af..da3364178 100644 --- a/.ci/upload_win_installer.sh +++ b/.ci/upload_win_installer.sh @@ -5,4 +5,5 @@ tag=$(git describe --exact-match) [ "$tag" ] || exit curl -T 'packages\win_installer\output\Aegisub-Japan7-x64.exe' --user $FTP_USER:$FTP_PASS "$dest/Aegisub-Japan7-x64-${tag#v}.exe" -curl -T <(printf "${tag#v}\n$(git tag -l --format='%contents' $tag)") --user "$FTP_USER:$FTP_PASS" "$dest/" +printf "${tag#v}\n$(git tag -l --format='%contents' $tag)" > latest +curl -T latest --user "$FTP_USER:$FTP_PASS" "$dest/"