From f80b39932f75c02854e7b6ad67c15dc10f0705c0 Mon Sep 17 00:00:00 2001 From: levine Date: Thu, 12 Nov 1998 15:07:14 +0000 Subject: use ../diffs if building ace+tao kit, so we no longer need a ../diffs symlink in TAO directory --- bin/make_release | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) (limited to 'bin') diff --git a/bin/make_release b/bin/make_release index ec58fb6dc03..207825ea1cf 100755 --- a/bin/make_release +++ b/bin/make_release @@ -22,6 +22,7 @@ $long_usage=" -? option prints this message\n" . " -r lists the files to be released\n" . " -l list the files to put in the lib kit\n"; + ######## ######## Configuration parameters. ######## @@ -43,6 +44,7 @@ $release_filter = '-name CVS -prune -name build -prune -o ! -name \'.\#*\' ' . '! -name \'\#*\' ! -name \'*~\' ' . '! -name \'*.MAK\' -print'; + ######## ######## Process command line args. ######## @@ -122,15 +124,17 @@ chop ($now = `$date +"%a %b %d %T %Y"`); ######## -######## Setup signal handler. +######## Setup signal handlers. ######## $SIG{'HUP'} = $SIG{'INT'} = $SIG{'QUIT'} = $SIG{'TERM'} = 'cleanup'; + ######## ######## Defend against fascist umasks. ######## umask 022; + ######## ######## Main execution thread. ######## @@ -150,6 +154,7 @@ if ($update_versions && "$kit" ne 'ace+tao') { } &cleanup; + ######## ######## Clean up when done or on signal. ######## @@ -157,6 +162,7 @@ sub cleanup { exit; } + ######## ######## Check that the workspace is up-to-date, if releasing from ######## the official release directory. @@ -197,6 +203,7 @@ sub check_workspace () { 0; } + ######## ######## Retrieve version information from VERSION file(s). ######## @@ -276,6 +283,7 @@ sub get_versions () { 0; } + ######## ######## Update VERSION file(s). ######## @@ -315,6 +323,7 @@ sub update_version_files () { 0; } + ######## ######## Add ChangeLog entries, and make sure that they have proper ######## permissions. @@ -349,6 +358,7 @@ sub update_changelog () { 0; } + ######## ######## Tag the release. ######## @@ -365,6 +375,7 @@ sub tag () { 0; } + ######## ######## If building a beta, create a diff from the previos version. ######## @@ -374,6 +385,7 @@ sub diff () { my $previous_tag = "$KIT-$previous_version"; my $tag = "$KIT-$version"; + my $diffs_dir = "$kit" eq 'ace+tao' ? '../diffs' : 'diffs'; #### cvs tag does not allow dots. $previous_tag =~ tr/./_/; @@ -385,13 +397,13 @@ sub diff () { print "nice -15 $cvs -q rdiff -u -r $previous_tag -r $tag " . "$module 2>/dev/null | " . "nice -15 sed 's%ACE_wrappers-repository/%ACE_wrappers/%g' | " . - "nice -15 $gzip -9 > diffs/$previous_tag-$tag.diff.gz &"; + "nice -15 $gzip -9 > $diffs_dir/$previous_tag-$tag.diff.gz &"; } else { system ("sleep 60; " . "nice -15 $cvs -q rdiff -u -r $previous_tag -r $tag " . "$module 2>/dev/null | " . "nice -15 sed 's%ACE_wrappers-repository/%ACE_wrappers/%g' | " . - "nice -15 $gzip -9 > diffs/$previous_tag-$tag.diff.gz &"); + "nice -15 $gzip -9 > $diffs_dir/$previous_tag-$tag.diff.gz &"); } } @@ -399,6 +411,7 @@ sub diff () { 0; } + ######## ######## Create the tar file(s) and move to their proper location. ######## -- cgit v1.2.1