mhonarc-commits
[Top] [All Lists]

CVS: devtools/bin release,1.15,1.16

2002-05-15 00:30:06
Update of /cvsroot/mhonarc/devtools/bin
In directory subversions:/tmp/cvs-serv3314/bin

Modified Files:
	release 
Log Message:
* release:
  - Rolled back to where two builds are done: test and final.  The
    reason is that final needs to be exported on a specific tag,
    mainly for proper expansion of CVS keywords like '$'Name'$'


Index: release
===================================================================
RCS file: /cvsroot/mhonarc/devtools/bin/release,v
retrieving revision 1.15
retrieving revision 1.16
diff -C2 -r1.15 -r1.16
*** release	7 May 2002 22:45:16 -0000	1.15
--- release	15 May 2002 06:33:08 -0000	1.16
***************
*** 243,250 ****
      ch_dir($reldir)  || die qq/Error: Unable to chdir to "$reldir": $!\n/;
    }
  
    ## If only testing, we are done.
    if ($TEST_ONLY) {
-     run_prg('/bin/rm', '-rf', $testdir);
      last MAIN;
    }
--- 243,250 ----
      ch_dir($reldir)  || die qq/Error: Unable to chdir to "$reldir": $!\n/;
    }
+   run_prg('/bin/rm', '-rf', $testdir);
  
    ## If only testing, we are done.
    if ($TEST_ONLY) {
      last MAIN;
    }
***************
*** 259,263 ****
  
    ## Export project and make release
!   run_prg('/bin/mv', $testdir, $buildir);
  
    if (defined($newsfile)) {
--- 259,273 ----
  
    ## Export project and make release
!   #run_prg('/bin/mv', $testdir, $buildir);
! 
!   run_prg('/bin/mkdir', '-p', $buildir);
!   run_prg('cvs', 'export', '-r', $cvstag, '-d', $buildir, $project);
!   if (@rhosts) {
!     foreach (@rhosts) {
!       run_prg($rshprg, $_, qq|@makeprg -C "$buildir" |.$mk_target_release);
!     }
!   } else {
!     run_prg(@makeprg, '-C', $buildir, $mk_target_release);
!   }
  
    if (defined($newsfile)) {

---------------------------------------------------------------------
To sign-off this list, send email to majordomo(_at_)mhonarc(_dot_)org with the
message text UNSUBSCRIBE MHONARC-DEV