You are here: Sharing a quick build script with you all « PHP Programming Language « IT news, forums, messages
Sharing a quick build script with you all

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]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация