Changeset 665

Show
Ignore:
Timestamp:
08/10/06 16:42:18 (2 years ago)
Author:
gboggs
Message:

- Decoupled the concepts of stamping and production building.
- Fixed the example usage --help output.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • branches/mt3.32/build/exportmt.pl

    r662 r665  
    7878# Production builds are not dated or stamped (or symlinked if staged). 
    7979if( $o{'prod'} ) { 
    80     $o{'stamp=s'} ||= ''; 
    8180    $o{'symlink!'} = 0; 
    8281} 
     
    10099    push @stamp, $config->{PRODUCT_VERSION}; 
    101100    push @stamp, $o{'short-lang=s'}; 
    102     # Add repo, date and ldap if a stamp is requested
    103     if( $o{'stamp!'} ) { 
     101    # Add repo, date and ldap to the stamp if we are not production
     102    unless( $o{'prod'} ) { 
    104103        push @stamp, lc( fileparse $o{'repo=s'} ); 
    105104        push @stamp, $revision; 
     
    633632 cd \$MT_DIR 
    634633 svn up 
    635  export BUILD_PACKAGE=MT 
    636  export BUILD_LANGAGE=ja 
    637  export BUILD_VERSION_ID=3.3-ja 
     634 perl $0 --debug 
    638635 perl $0 --help 
    639  perl $0 --debug 
    640636 perl $0 --local 
     637 perl $0 --prod 
    641638 perl $0 --qa 
    642  perl $0 --alpha=1 
    643  perl $0 --beta=41 
    644  perl $0 --prod 
     639 perl $0 --stage 
    645640 
    646641Please see the full documentation with defaults and command overrides at: