koha-cvs
[Top][All Lists]
Advanced

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

[Koha-cvs] CVS: koha buildrelease,1.2,1.3


From: Paul POULAIN
Subject: [Koha-cvs] CVS: koha buildrelease,1.2,1.3
Date: Thu, 04 Jul 2002 06:05:55 -0700

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

Modified Files:
        buildrelease 
Log Message:
merging 1.2 and main branches


Index: buildrelease
===================================================================
RCS file: /cvsroot/koha/koha/buildrelease,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** buildrelease        2 Jul 2002 20:35:17 -0000       1.2
--- buildrelease        4 Jul 2002 13:05:52 -0000       1.3
***************
*** 95,100 ****
  my $currentversion='';
  
  if ($released) {
!     $releaseversion=($highestversion+1)."RC1";
      $currentversion=$highestversion;
  } else {
--- 95,104 ----
  my $currentversion='';
  
+ 
  if ($released) {
!     my @components=split(/\./, $highestversion);
!     $components[$#components]++;
!     $nexthighestversion=join '.', @components;
!     $releaseversion=$nexthighestversion."RC1";
      $currentversion=$highestversion;
  } else {
***************
*** 104,108 ****
  
  print "Current release tag is $currentversion.\n";
! print "\nWould you like to bump that up to $releaseversion?  [Y]/N: ";
  chomp($input = <STDIN>);
  if ($input =~ /^n/i) {
--- 108,112 ----
  
  print "Current release tag is $currentversion.\n";
! print "\nWould you like to bump that up to $releaseversion (or manually enter 
version)?  [Y]/N: ";
  chomp($input = <STDIN>);
  if ($input =~ /^n/i) {
***************
*** 130,133 ****
--- 134,145 ----
  
  
+ print "\nWould you like to tag the CVS repository?\n(answer yes if releasing 
tarball)  [Y]/N: ";
+ chomp ($input=<STDIN>);
+ my $cvstag=1;
+ if ($input=~/^n/i) {
+     $cvstag=0;
+ }
+ 
+ 
  my $sfuserid='';
  if ($cvsroot=$ENV{'CVSROOT'}) {
***************
*** 155,159 ****
  Tagging koha with tag R_$tagname
  |;
! system("cvs tag -F R_$tagname");
  print qq|
  Updating the 'koha-html' CVS files.  You may need to enter your SourceForge 
password.
--- 167,171 ----
  Tagging koha with tag R_$tagname
  |;
! ($cvstag) && (system("cvs tag -F R_$tagname"));
  print qq|
  Updating the 'koha-html' CVS files.  You may need to enter your SourceForge 
password.
***************
*** 165,169 ****
  Tagging koha-html with tag R_$tagname
  |;
! system("cvs tag -F R_$tagname");
  
  
--- 177,181 ----
  Tagging koha-html with tag R_$tagname
  |;
! ($cvstag) && (system("cvs tag -F R_$tagname"));
  
  
***************
*** 204,208 ****
  system("mv $rootdir/intranet-cgi/README $rootdir");
  system("mv $rootdir/intranet-cgi/TODO $rootdir");
- system("mv $rootdir/intranet-cgi/databaseinstall.sh $rootdir");
  system("mv $rootdir/intranet-cgi/installer.pl $rootdir"); 
  system("mv $rootdir/intranet-cgi/koha.upgrade $rootdir"); 
--- 216,219 ----




reply via email to

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