Releases: dg/ftp-deployment
Releases · dg/ftp-deployment
Released version 2.7
- standalone YUI-Compressor replaced with online tool http://refresh-sf.com (requires ext-openssl)
- added 'upload:' job
- possibility to configure file and directory permissions for uploaded files #90
- CliRunner: detects when script is running multiple times
- readme.md: improved doc
- Deployer::
runJobs()
better output
Released version 2.6
- Deployer::runJobs() shows better error messages
- uses cURL if available because file_get_contents get stuck on some HTTPS sites.
- SshServer::createDir() ignores empty dir
- FtpServer: throws exception when ftps is not supported
For the details you can have a look at the diff.
Released version 2.5
Released version 2.4
- FtpServer::execute() emulates commands mkdir|rmdir|unlink|mv|chmod [Closes #67]
- "afterupload" command support added
- removed is_readable and realpath
- CliRunner: highlighted information about test/live mode [Closes #69]
- CliRunner: global options are case insensitive too
- some fixes
For the details you can have a look at the diff.
Released version 2.3
BC break: path to Deployment/deployment
was changed to deployment
in root
- moved sources from folder
/Deployment
to/src
(BC break) - standalone Google Closure Compiler replaced with online tool (BC break: requires ext-openssl)
- option
local
is relative to the directory, where deployment.ini is placed (possible BC break) - CliRunner: folder .idea is ignored
- CliRunner: returns non-zero exit status on error
- SshServer: Fix missing urldecode() for user/pass in connect() method
- Deployer: deployment file directory is created recursively
For the details you can have a look at the diff.
Released version 2.2
- normalizes EOL in text files when computes hash (now it can be used on Windows and Linux simultaneously)
- updated YUI Compressor & Google Closure Compiler
For the details you can have a look at the diff.
Released version 2.1
- improved masks for ignoring files
- added option
--generate
that generates the.htdeployment
file - fixed bugs #58, #52 etc.
Improved masks for ignoring files means, that now is possible to simply allow one file or directory inside disallowed directory:
/dir # disallow /dir
!/dir/sub/file.* # allow files inside /dir
For the details you can have a look at the diff.
Released version 2.0
- implemented purge for SSH server
- deployment process can be detected on server, for this purpose it creates temporary file
.htdeployment.running
- now you can run commands on local computer or remote server:
before[] = local: lessc assets/combined.less assets/combined.css
after[] = remote: unzip api.zip
BC breaks:
- options
log, colors and tempdir
must be defined out of any section, because they are global - class
Deployment
has been renamed toDeployment\Deployer
For the details you can have a look at the diff.
Released version 1.5
Released version 1.4
- added support for SSH and SFTP (requires PHP extension ssh2), simply use
sftp://
protocol inremote
- minimal PHP version changed to 5.4.0
For the details you can have a look at the diff.