I want to create a distribution archive of my code that includes a subset of directories and excludes all the subversion files. I would like the files to be added to the archive with a root folder that identifies the version of the release, so that when the archive is unzipped it will use this root folder (i.e. myAppV1.3)
I can't find a 'switch' for this, so I'm currently having to zip everything up (using the 7zip exclusions to filter out the files I don't want) then unzip it to my specified folder. Then zip that entire folder up again.
Example of the current three step process I am using:
c:\dev\myApp>7za -xr!?svn\* a myApp_temp.zip @listOfFilesInRelease.txt
c:\dev\myApp>7za -omyAppV1.3 x myApp_temp.zip
c:\dev\myApp>7za a myAppV1.3.zip myAppV1.3
Is there a more elegant way to be doing this?