To host a new package
Zip up the package files
- Git (recommended)
If your project is using git for source control, this method gives the most control over creating a distributable zip package.
Create a new file in your repo called
.gitattributes. Add any other files or folders to this file that you don't want to export into your package. And then commit the file to source control:
echo "/tmp export-ignore .gitattributes export-ignore .gitignore export-ignore" >> .gitattributes git add .gitattributes git commit -m "Created .gitattributes"
And now export your package:
git archive --format zip --output ../example.zip master
svn export file:///path/to/exmaple example zip -r example.zip example
The following works from the command line in Mac and Linux.
It also works from the command prompt in Windows after you download and install the zip command line utility.
zip -vr example.zip example/ -x "*.DS_Store" -x "*.git*" -x "*.svn*"
- Upload the Zip file
Please wait. You will be redirected in a moment to view your upload. If you get impatient, you can click to proceed.