Convert sources into multiple releases

May 29, 2010 at 2:41 PM

In a project that consists only of source code and doesn't have any binary release, I'd like to add the source package itself as a release. CodePlex already offers a download link on the source tab, representing a zip file that contains the entire tree. In addition I would like to create several packages with specific subsets of the source tree. Moreover, when unpacked, their projects should not be under source control.
I can achieve that through the following manual steps
1. Sync the sources into a local working copy
2. Remove the source control bindings and files
3. Zip it into the desired packages.
I am wondering whether there exists a tool or script for that – this sounds like a common task.