Phing script to export the files that changed since most recent tag, upload them via FTP or SCP, and adding new tag.
Purpose of this script is to simplify deployment process for actively developing projects. It is assumed that your live app resembles with master branch and you are creating tags after each deploy.
Normal Uploading
- phing creatediff
- phing ftpupload OR phing scpupload
- phing createtag
SAFE Uploading
- phing creatediff
- phing safeftpupload OR phing safescpupload
- phing safeupgrade
- phing safedowngrade (for rollbacking changes if something goes wrong)
- phing saferemovebackups (will remove all temporary/backup folders on server)
- phing createtag
Rakesh Tembhurne
Copyright 2013 SANIsoft Technologies
Licensed under the Apache License, Version 2.0 (the "License"); you may not use this work except in compliance with the License. You may obtain a copy of the License in the LICENSE file, or at:
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.