Commit graph

86 commits

Author SHA1 Message Date
Nihad Abbasov efd66e7fca add ability to set custom commit message for git deploys
issue #64
2014-05-24 23:35:14 +05:00
Tom Vaughan 6c426c0ef3 bump 2014-02-26 08:39:50 -03:00
Andrew Lum da58498102 Update rsync.rb 2014-02-26 19:04:08 +08:00
Tom Vaughan d494a4faf7 bump 2014-02-23 19:00:00 -03:00
Martin Wessely 774e656cfa Upload all files as binary to prevent corrupt images 2014-02-23 22:07:30 +01:00
Tom Vaughan 8226bba8b3 bump 2014-02-23 13:52:02 -03:00
Richard Huang 0bd94419ea add port reader for ftp method 2014-02-24 00:44:11 +08:00
Tom Vaughan e89b403ad8 bump 2014-02-23 11:36:02 -03:00
Tom Vaughan 865b98f1c0 Ensure -e ssh ... is always passed to rsync. Fixes #54 2014-02-23 11:27:50 -03:00
WhiteTrefoil 08875eebec Supporting port config of SFTP 2014-01-18 21:55:50 +08:00
Cecile Veneziani 11860dd930 Refactoring
- Create a class per method
- Create a class per git strategy
- Extract USAGE into a file
- Refactor git and ftp/sftp methods
2014-01-16 16:52:52 +01:00
Cecile Veneziani 23c6b8c1f6 Add strategy option to git method
- Set force push as default strategy (avoid breaking change)
- Add submodule strategy
2013-11-30 21:28:35 +01:00
Tom Vaughan b0f7cde56a bump 2013-11-23 17:17:25 -03:00
Tom Vaughan 26f2e43a52 Add new rsync flags option to error message. 2013-11-19 20:36:02 -03:00
Jason Semko 5b1723ab34 adding a flags option to override default rsync flags 2013-11-18 17:42:55 -08:00
Sebastian Daniel 36785eb98f fix for quotes not woking when comitting on a windows machine. + comment since change didn't show up on github 2013-10-01 20:14:23 +02:00
Sebastian Daniel 273174f427 fix for quotes not woking when comitting on a windows machine. 2013-10-01 19:43:02 +02:00
Tom Vaughan d845e9f42d Bump. 2013-09-21 12:33:45 -03:00
Tom Vaughan 268ddb1a14 Add username and password are optional to sftp docs. 2013-09-21 12:06:25 -03:00
Tom Vaughan 2f8d236ee4 Make username optional for sftp deployment. Like rsync. 2013-09-21 12:05:56 -03:00
Martin Schürrer 6eed387731 Make password optional for sftp deployment
Some people use public key authentication
2013-09-12 20:33:06 +02:00
Tom Vaughan 336fcd3c0e Catch specific exception. Fixes #38 (I think). 2013-08-24 11:16:22 -04:00
Tom Vaughan a738143f3e bump 2013-08-08 19:46:10 -04:00
Tom Vaughan c9d44ba5e7 Comment and separate default options. 2013-08-08 19:44:03 -04:00
Tom Vaughan 6cb77153d4 Add port to list of possible options. 2013-08-08 19:41:46 -04:00
Tom Vaughan d749a99fbe Let user be optional in the rsync method. 2013-08-08 19:39:10 -04:00
Ryan McGeary 81fd3ad4c5 Removed use of global constants (VERSION and PACKAGE)
Fixes #33
2013-08-03 18:06:38 -04:00
Tom Vaughan a5d8d9c4f3 bump 2013-07-29 19:58:39 -04:00
Tom Vaughan e1c44aa9d3 Call middleman build to work-around a problem in middleman. 2013-07-23 21:43:15 -04:00
Tom Vaughan 9c925ff0e5 some ftp/sftp related clean-ups 2013-07-16 22:25:06 -04:00
Tom Vaughan c0a974d6a0 bump 2013-07-16 22:08:33 -04:00
Tom Vaughan 8cb0500c0d remove the --clean command-line option 2013-07-16 21:53:11 -04:00
Tom Vaughan 62248cb099 update tagline and ensure required settings are provided for sftp 2013-07-16 21:43:00 -04:00
Tom Vaughan 757272d6af whitespace clean-up 2013-07-16 21:40:33 -04:00
Tom Vaughan f0a60edf29 work-around a problem with running build in an extension 2013-07-16 21:24:45 -04:00
Tom Vaughan 3b9b8093d3 Rename to build_before and add corresponding command-line option. 2013-06-11 00:42:12 -04:00
Tom Vaughan 8c9b79688a Remove the after_build option. This never made much sense. 2013-06-11 00:14:34 -04:00
Tom Vaughan 264f1082b2 Merge pull request #24 from jm3/force-build
(optionally) force a build before any deploy
2013-06-10 21:03:06 -07:00
tobiaswerner a1ae241553 Added SFTP deployment 2013-06-08 22:46:43 +02:00
Ryan McGeary e854adb5a6 Fixed branch selection logic for git deploys
* Before, because the logic was revered (see
  c0e46393c6), a brand new deploy would
  result in assuming that the deploy branch existed when it actually
  did not. This would cause initial deploys to fail.
* This new logic is more concise, more readable, and still backwards
  compatible with ruby 1.8.
2013-05-30 10:25:03 -04:00
John Manoogian III 92e7724a1a (optionally) force a build before any deploy 2013-05-06 16:39:19 -07:00
Tom Vaughan 5931dfc748 bump 2013-05-05 20:14:12 -04:00
Tom Vaughan 41f33b69d2 Fix #23. use build_dir as specified in config.rb 2013-05-05 20:13:14 -04:00
Tom Vaughan 46286a2729 bump 2013-03-15 22:57:41 -03:00
Fabien Piuzzi c0e46393c6 Fixing deploy for ruby 1.8
.keep_if is not present in Ruby 1.8, using delete_if and reversing the test should be equivalent and more universal.
2013-03-01 18:07:33 +01:00
Tom Vaughan 7f2b18b2de bump 2013-01-20 10:56:03 -03:00
Tom Vaughan 8c6bbae53a Display help on config.rb when ftp method is not setup correctly. Update printf's. 2013-01-20 10:51:22 -03:00
Daniel Bayerlein fd926b183d [deploy_ftp] Add support for hidden files. 2013-01-13 19:41:58 +01:00
Tom Vaughan 73258f3c5c bump 2013-01-05 13:43:18 -03:00
Benjamin Knofe 6b6f928e75 git: remove origin fetching, fixes #9 2013-01-02 22:38:24 +01:00