try to pass credentials as command arguments

This commit is contained in:
odrling 2019-08-31 18:28:50 +02:00
parent 23927ea23c
commit d1fb61d13c
2 changed files with 3 additions and 1 deletions

View File

@ -1,4 +1,6 @@
#!/bin/bash
FTP_USER="$1"
FTP_PASS="$2"
dest="ftp://shelter.mahoro-net.org/aegisub-japan7"
tag=$(git describe --exact-match)

View File

@ -79,7 +79,7 @@ after_build:
- cd ..\..
on_success:
- sh: '[ -n "$APPVEYOR_REPO_TAG_NAME" ] && .ci/upload_win_installer.sh'
- IF DEFINED APPVEYOR_REPO_TAG_NAME bash.exe ".ci\upload_win_installer.sh" %FTP_USER% %FTP_PASS%
artifacts:
- path: packages\win_installer\output\Aegisub-Japan7-x64.exe