chore(release): support sftp in release:push and docs

This commit is contained in:
Jordan Wages 2025-08-24 03:53:32 -05:00
commit 4516f9f2a9
2 changed files with 5 additions and 4 deletions

View file

@ -1,9 +1,9 @@
#!/usr/bin/env node
/*
* Uploads the latest signed release artifacts in releases/<version>/ via FTP/FTPS using curl.
* Uploads the latest signed release artifacts in releases/<version>/ via FTP/FTPS/SFTP using curl.
* Reads configuration from .env (auto-loaded) or process.env.
* Env vars:
* FTP_PROTOCOL=ftp|ftps (default: ftp)
* FTP_PROTOCOL=ftp|ftps|sftp (default: ftp)
* FTP_HOST=example.com (required)
* FTP_PORT=21 (optional)
* FTP_USER=username (required)