Sharing a quick build script with you all

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Scott Auge

    Sharing a quick build script with you all

    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.zi p

    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


    I'd write my senators, but I can't find my checkbook...
Working...