Changeset 2376

Show
Ignore:
Timestamp:
08/14/06 16:29:37 (9 months ago)
Author:
demian
Message:

updating release.sh

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/0.6-bugfix/etc/release.sh

    r2366 r2376  
    251251{ 
    252252    # rename folder to current release 
    253     mv $PROJECT_NAME $PROJECT_NAME-$RELEASE_NAME 
     253    if [ $MINIMAL_INSTALL ]; then 
     254        ARCHIVE_NAME=$PROJECT_NAME-$RELEASE_NAME-minimal 
     255    else 
     256        ARCHIVE_NAME=$PROJECT_NAME-$RELEASE_NAME 
     257    fi 
     258    mv $PROJECT_NAME $ARCHIVE_NAME 
    254259 
    255260    # tar and zip 
    256     tar cvf $PROJECT_NAME-$RELEASE_NAME.tar $PROJECT_NAME-$RELEASE_NAME 
    257     gzip -f $PROJECT_NAME-$RELEASE_NAME.tar 
     261    tar cvf $ARCHIVE_NAME.tar $ARCHIVE_NAME 
     262    gzip -f $ARCHIVE_NAME.tar 
    258263} 
    259264 
     
    397402checkArgs 
    398403 
    399 #checkPreviousVersions 
     404checkPreviousVersions 
    400405 
    401406#tagRelease 
     
    404409cd /tmp 
    405410 
    406 #exportSvn 
     411exportSvn 
    407412 
    408413createMinimalFlag 
     
    414419fi 
    415420 
    416 #createTarball 
     421createTarball 
     422 
     423echo $ARCHIVE_NAME 
    417424 
    418425#uploadToSfWholePackage