Posted by Scott Auge on 07/19/05 20:19
I created this script to help make zip files for software distributions.
It will:
-- Create a build number
-- Create a VERSION file so people know which build they have
-- Update the CHANGELOG file with the build number whereever %BUILD% is
located
-- Create the zip file for distribution
-- Create a zip file for the current build
#!/bin/bash
BUILD=$(date +"%Y%j%H%M%S")
echo "Job Hunter Build $BUILD" > VERSION
sed -e"/\%BUILD\%/s//$BUILD/" < CHANGELOG > T
mv T CHANGELOG
zip -r curpackage.zip *.php doc sql *css README TODO CHANGELOG LICENSE
*jpg
cp curpackage.zip build.$BUILD.zip
With modification of what goes into the zip, you all might find it
useful for your goodies.
--
Scott Auge
Available for hire!
Resume can be found at: http://amduus.com/Resumes/
ASP Based Help Desk Software
http://amduus.com/serviceexpress/
I'd write my senators, but I can't find my checkbook...
Navigation:
[Reply to this message]
|