fix(release): handle explicit FTPS on port 21 via ftp:// + --ssl-reqd (auto-detect or FTPS_MODE=explicit)

This commit is contained in:
Jordan Wages 2025-08-24 04:11:18 -05:00
commit 38946e711c
2 changed files with 26 additions and 2 deletions

View file

@ -15,6 +15,11 @@ FTP_PASS=your-ftp-password
# Remote directory to upload signed artifacts (e.g., /addons/archive-org-link-grabber/)
FTP_REMOTE_DIR=/path/on/server
# FTPS mode (optional):
# explicit (FTPES on port 21) or implicit (default on port 990)
# If unset, the script auto-detects explicit when FTP_PROTOCOL=ftps and FTP_PORT=21.
# FTPS_MODE=explicit
# SFTP host verification (SFTP only; choose one)
# SFTP_KNOWN_HOSTS=/home/you/.ssh/known_hosts
# SFTP_HOST_PUBKEY_SHA256=base64sha256fingerprint