XF 2.0 Should I include my addon's _output in Version Control (Git)?

I develop with two branches - "develop" and "master".

Master contains the release-ready code and the contents of the _data folder, but not the _output folder.

Develop contains the contents of the _output folder but not the _data folder.

This is so that I can pull the develop branch to any of my development or staging servers and have it update the local codebase without building a release.

Similarly, I can push the master branch out to my production servers and know they'll get just the code required to install the latest release of the addon without any conflicts or warnings about the _output folder.

My .gitignore for master is:

Code:
_output/
_releases/

... while my .gitignore for develop is:

Code:
_data/
_releases/

It's a bit messy while developing, but it makes automating deployment much easier.
 
Top Bottom