summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-24 21:24:30 +0000
committercoryan <coryan@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>1999-08-24 21:24:30 +0000
commit75af2d468fab81009c366fa57d96e13f27e2e7cd (patch)
tree61c292557319b8f52e16c1104913a68ad880f688
parentfab31315e6fc5497f6f1e592bbafef8c45d00182 (diff)
downloadATCD-75af2d468fab81009c366fa57d96e13f27e2e7cd.tar.gz
ChangeLogTag:Tue Aug 24 16:23:07 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
-rw-r--r--ChangeLog-99b8
-rwxr-xr-xbin/make_release32
2 files changed, 33 insertions, 7 deletions
diff --git a/ChangeLog-99b b/ChangeLog-99b
index 25dc40a7907..013170d3fc3 100644
--- a/ChangeLog-99b
+++ b/ChangeLog-99b
@@ -1,3 +1,11 @@
+Tue Aug 24 16:23:07 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
+
+ * bin/make_release:
+ Use an explicit temporary file to create the ChangeLog, i had
+ some problems with the previous scheme, but it could be my
+ shell.
+ When tagging TAO we have to change directories.
+
Tue Aug 24 12:19:29 1999 Carlos O'Ryan <coryan@cs.wustl.edu>
* tests/Makefile:
diff --git a/bin/make_release b/bin/make_release
index e9ad848bb6c..e08a26209dd 100755
--- a/bin/make_release
+++ b/bin/make_release
@@ -478,15 +478,27 @@ sub update_version_files () {
sub update_changelog () {
my $logname = $ENV{'LOGNAME'};
my $signature = $ENV{'SIGNATURE'} || $logname;
- my $message = "$now $signature <$logname\\\@cs.wustl.edu>\n\n" .
+ my $message = "$now $signature <$logname\@cs.wustl.edu>\n\n" .
" * $KIT version $version released.\n\n";
- &ex ("perl -pi -e 'BEGIN {\$message_printed = 0;} " .
- "if (! \$message_printed) { " .
- "print \"$message\"; " .
- "++\$message_printed; " .
- "}' ChangeLog");
- return 1 if $? >> 8;
+ if ("$exec_prefix") {
+ print "Adding to ChangeLog: \n", $message, "\n";
+ return 0;
+ }
+ open (NEW_CHANGELOG, ">ChangeLog.bak")
+ || return 1;
+ open (CHANGELOG, "ChangeLog")
+ || return 1;
+ print NEW_CHANGELOG $message;
+ while (<CHANGELOG>) {
+ print NEW_CHANGELOG $_;
+ }
+ close (CHANGELOG)
+ || return 1;
+ close (NEW_CHANGELOG)
+ || return 1;
+ rename "ChangeLog.bak", "ChangeLog"
+ || return 1;
my $version_h = $kit =~ /^ace/ ? 'ace/Version.h' : 'tao/Version.h';
@@ -508,7 +520,13 @@ sub tag () {
$tag =~ tr/./_/;
print "start tagging $tag\n";
+ if ($KIT eq "TAO") {
+ chdir "..";
+ }
&ex ("$cvs -q tag $tag $controlled_files > /dev/null");
+ if ($KIT eq "TAO") {
+ chdir "TAO";
+ }
return 1 if $? >> 8;
print "finished tagging $tag\n";