Create an Ant task for liferay-docs to generate a Zip containing only new/modified files and their appropriate parent intros, and structure to allow for successful publication. The process would follow something similar to this:
- First upload: grab the git log and store the latest commit # in some metadata file somewhere. Zip up the whole thing like usual.
- Subsequent uploads: grab the git log. Compare the latest commit with the last commit.
- Get a list of files changed between commits.
- Only zip those files.
- Store the new latest commit # in metadata file.