fix upload script

This commit is contained in:
odrling 2019-08-31 17:06:14 +02:00
parent 4b2f9d864a
commit eab9e2cc09
1 changed files with 2 additions and 1 deletions

View File

@ -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/"