[appveyor] auto ftp upload part 2

This commit is contained in:
odrling 2019-08-30 23:45:07 +02:00
parent 3f2a16c2b3
commit 0953d23168
2 changed files with 3 additions and 2 deletions

View File

@ -6,6 +6,6 @@ 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
printf "${tag#v}\n$(git tag -l --format='%contents' $tag)" > latest
curl -T latest --user "$FTP_USER:$FTP_PASS" "$dest/"

View File

@ -76,9 +76,10 @@ after_build:
- 7z x "C:\aegisub-codecs.zip"
- cd packages\win_installer
- iscc aegisub3.iss
- cd ..\..
on_success:
- bash.exe .ci\upload_win_installer.sh
- bash.exe .ci\\upload_win_installer.sh
artifacts:
- path: packages\win_installer\output\Aegisub-Japan7-x64.exe