Here is a solution using 7zip with a custom action ( Tools > Options > Custom Actions > Add ):
Menu caption: > dist.zip [ ] Open in a separate window [ ] Show Full Output [X] Run command silently Script to run: X:\Your\path\to\7-Zip\7z.exe Parameters: a $REPO\dist.zip $FILE (Restart SourceTree after creation for the changes to take effect!)
This action works from the context menu for Unstaged Files and modified files in the commits from the log / history (even if several files / several commits are selected) and adds these files to "dist.zip" in the root of the repo. Just note that the file will not be deleted until the files are added, so if you want to start from scratch, remember to delete the zip file first.
Thanks to this, it has become much easier to update working systems using only modified files in projects that do not use the build system. I wonder how I managed to live and work so long without him? :-)
source share