koha-cvs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Koha-cvs] CVS: koha buildrelease,1.1.2.4,1.1.2.5


From: Steve Tonnesen
Subject: [Koha-cvs] CVS: koha buildrelease,1.1.2.4,1.1.2.5
Date: Tue, 25 Jun 2002 14:11:09 -0700

Update of /cvsroot/koha/koha
In directory usw-pr-cvs1:/tmp/cvs-serv8950

Modified Files:
      Tag: rel-1-2
        buildrelease 
Log Message:
Added support for sampledata files (gzips before tarballing), and modified the
suggested release version questions a bit.


Index: buildrelease
===================================================================
RCS file: /cvsroot/koha/koha/Attic/buildrelease,v
retrieving revision 1.1.2.4
retrieving revision 1.1.2.5
diff -C2 -r1.1.2.4 -r1.1.2.5
*** buildrelease        25 Jun 2002 17:36:39 -0000      1.1.2.4
--- buildrelease        25 Jun 2002 21:11:07 -0000      1.1.2.5
***************
*** 89,106 ****
  chomp($input = <STDIN>);
  if ($input =~ /^n/i) {
!     $releaseversion=$currentversion;
!     print "Do not do this if you have released the tarball to anybody, as it 
will\n";
!     print "overwrite the tag marking the files that were in the tarball.\n\n";
!     print "Confirm that you want to overwrite the tag for $releaseversion? 
Y/[N]: ";
      chomp($input = <STDIN>);
!     if ($input =~ /^n/i || $input eq '') {
!       print "\nOkay, please re-run buildrelease now.\n";
!       exit;
!     }
! } else {
!     print "New release version [$releaseversion]: ";
!     chomp($input = <STDIN>);
!     if ($input) {
!       $releaseversion=$input;
      }
  }
--- 89,110 ----
  chomp($input = <STDIN>);
  if ($input =~ /^n/i) {
!     print "Would you like to rebuild the $currentversion tarball?  Y/[N]: ";
      chomp($input = <STDIN>);
!     if ($input =~ /^y/i) {
!       $releaseversion=$currentversion;
!       print "Do not do this if you have released the tarball to anybody, as 
it will\n";
!       print "overwrite the tag marking the files that were in the 
tarball.\n\n";
!       print "Confirm that you want to overwrite the tag for $releaseversion? 
Y/[N]: ";
!       chomp($input = <STDIN>);
!       if ($input =~ /^n/i || $input eq '') {
!           print "\nStopping.  Please re-run buildrelease now.\n";
!           exit;
!       }
!     } else {
!       print "What should the new version be? [$releaseversion]: ";
!       chomp ($input=<STDIN>);
!       if ($input) {
!           $releaseversion=$input;
!       }
      }
  }
***************
*** 178,181 ****
--- 182,187 ----
  system("mv $rootdir/intranet-cgi/koha.conf $rootdir");
  system("mv $rootdir/intranet-cgi/koha.mysql $rootdir");
+ system("mv $rootdir/intranet-cgi/sampledata-1.2 $rootdir");
+ system("gzip -9 $rootdir/sampledata-1.2");
  
  # Copy files from intranet-cgi to opac-cgi




reply via email to

[Prev in Thread] Current Thread [Next in Thread]