mirror of https://github.com/odrling/Aegisub
[appveyor] upload build via ftp part 3
This commit is contained in:
parent
0953d23168
commit
a958faea51
|
@ -1,11 +1,8 @@
|
|||
#!/bin/sh
|
||||
#!/bin/bash
|
||||
|
||||
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#v}\n$(git tag -l --format='%contents' $tag)" > latest
|
||||
curl -T latest --user "$FTP_USER:$FTP_PASS" "$dest/"
|
||||
|
||||
curl -T <(printf "${tag#v}\n$(git tag -l --format='%contents' $tag)") --user "$FTP_USER:$FTP_PASS" "$dest/"
|
||||
|
|
|
@ -79,7 +79,7 @@ after_build:
|
|||
- cd ..\..
|
||||
|
||||
on_success:
|
||||
- bash.exe .ci\\upload_win_installer.sh
|
||||
- sh: bash .ci/upload_win_installer.sh
|
||||
|
||||
artifacts:
|
||||
- path: packages\win_installer\output\Aegisub-Japan7-x64.exe
|
||||
|
|
Loading…
Reference in New Issue