[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: coreutils-6.12 released
From: |
Jim Meyering |
Subject: |
Re: coreutils-6.12 released |
Date: |
Sun, 01 Jun 2008 14:50:29 +0200 |
Erik Auerswald <address@hidden> wrote:
> On Sun, Jun 01, 2008 at 12:15:02PM +0200, Jim Meyering wrote:
>> Coreutils version 6.12 has been released.
>> This is a stable, bug-fix release.
>
> 'make syntax-check' fails using a fresh clone of the git repo. A
> 'make update-NEWS-hash' and commiting it's changes to cfg.mk would help.
Thanks! Fixed.
That makes three things to do post-release.
Time to automate the process:
>From 01e6181965e1d60dd1ba483c18682d167a9c48a0 Mon Sep 17 00:00:00 2001
From: Jim Meyering <address@hidden>
Date: Sun, 1 Jun 2008 14:48:07 +0200
Subject: [PATCH] add rules to commit three post-release changes automatically
* maint.mk (noteworthy): Define.
(emit-commit-log): Define.
(alpha beta major): Also update NEWS and cfg.mk automatically,
and commit all three changes at once.
---
maint.mk | 15 ++++++++++++---
1 files changed, 12 insertions(+), 3 deletions(-)
diff --git a/maint.mk b/maint.mk
index 80c1bbf..91e26a4 100644
--- a/maint.mk
+++ b/maint.mk
@@ -765,6 +765,14 @@ emit_upload_commands:
@echo =====================================
@echo =====================================
+noteworthy = * Noteworthy changes in release ?.? (????-??-??) [?]
+define emit-commit-log
+ printf '%s\n' 'post-release administrivia' '' \
+ '* NEWS: Add header line for next release.' \
+ '* .prev-version: Record previous version.' \
+ '* cfg.mk (old_NEWS_hash): Auto-update.'
+endef
+
.PHONY: alpha beta major
alpha beta major: $(local-check) writable-files
test $@ = major \
@@ -780,6 +788,7 @@ alpha beta major: $(local-check) writable-files
fi
$(MAKE) -s emit_upload_commands RELEASE_TYPE=$@
echo $(VERSION) > $(prev_version_file)
- $(VC) commit -m \
- '* $(prev_version_file): Record previous version.' \
- $(prev_version_file)
+ $(MAKE) update-NEWS-hash
+ perl -pi -e '$$. == 3 and print "$(noteworthy)\n\n\n"' NEWS
+ $(emit-commit-log) > .ci-msg
+ $(VC) commit -F .ci-msg
--
1.5.6.rc0.47.g35cb
- coreutils-6.12 released, Jim Meyering, 2008/06/01
- Message not available
- Re: coreutils-6.12 released,
Jim Meyering <=