[appveyor] upload tagged release via ftp

This commit is contained in:
odrling 2019-08-30 23:03:07 +02:00
parent ac88140aaa
commit 3f2a16c2b3
2 changed files with 14 additions and 0 deletions

View File

@ -0,0 +1,11 @@
#!/bin/sh
dest="ftp://shelter.mahoro-net.org/aegisub-japan7"
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"
printf "$tag\n$(git tag -l --format='%contents' $tag)" > latest
curl -T latest --user "$FTP_USER:$FTP_PASS" "$dest/"

View File

@ -77,5 +77,8 @@ after_build:
- cd packages\win_installer
- iscc aegisub3.iss
on_success:
- bash.exe .ci\upload_win_installer.sh
artifacts:
- path: packages\win_installer\output\Aegisub-Japan7-x64.exe