From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-961622-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 89C3C139694 for <garchives@archives.gentoo.org>; Fri, 14 Jul 2017 19:53:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id EE696E0E9E; Fri, 14 Jul 2017 19:53:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id CF0C5E0E9E for <gentoo-commits@lists.gentoo.org>; Fri, 14 Jul 2017 19:53:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 618D9341884 for <gentoo-commits@lists.gentoo.org>; Fri, 14 Jul 2017 19:53:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id CD76C74B3 for <gentoo-commits@lists.gentoo.org>; Fri, 14 Jul 2017 19:53:51 +0000 (UTC) From: "Robin H. Johnson" <robbat2@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Robin H. Johnson" <robbat2@gentoo.org> Message-ID: <1500061978.91002e56bb0391bdc31716dd65b42151d230ff62.robbat2@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: HACKING Makefile X-VCS-Directories: / X-VCS-Committer: robbat2 X-VCS-Committer-Name: Robin H. Johnson X-VCS-Revision: 91002e56bb0391bdc31716dd65b42151d230ff62 X-VCS-Branch: master Date: Fri, 14 Jul 2017 19:53:51 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b21caeae-7794-447c-b4be-3123b1694f4c X-Archives-Hash: b23d087bfb4b9a1aa7366e1ffc3732b0 commit: 91002e56bb0391bdc31716dd65b42151d230ff62 Author: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> AuthorDate: Fri Jul 14 19:52:49 2017 +0000 Commit: Robin H. Johnson <robbat2 <AT> gentoo <DOT> org> CommitDate: Fri Jul 14 19:52:58 2017 +0000 URL: https://gitweb.gentoo.org/proj/genkernel.git/commit/?id=91002e56 Improve release process. HACKING | 6 ++++-- Makefile | 4 ++++ 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/HACKING b/HACKING index ed553f1..62bbd37 100644 --- a/HACKING +++ b/HACKING @@ -16,8 +16,10 @@ Testing things: $ sudo GK_SHARE="$PWD" ./genkernel initramfs --no-install --no-postclear --loglevel=2 Rolling a release: -- Bump the version in the main genkernel file. -- make dist # verify it can build. +- export PV="NEWVER" +- Bump the version in the main genkernel file: +- sed -i "/^GK_V=/s/='.*'$/='$PV'/" genkernel +- make dist UNCLEAN=1 # verify it can build. - git commit -s -a -m "Bump version to ${PV}" - git tag -s -a -m "Tag release v${PV}" v${PV} - make dist # Real tarball diff --git a/Makefile b/Makefile index e7f08a3..d18a3f2 100644 --- a/Makefile +++ b/Makefile @@ -28,8 +28,12 @@ clean: rm -f $(EXTRA_DIST) check-git-repository: +ifneq ($(UNCLEAN),1) git diff --quiet || { echo 'STOP, you have uncommitted changes in the working directory' ; false ; } git diff --cached --quiet || { echo 'STOP, you have uncommitted changes in the index' ; false ; } +else + @true +endif dist: verify-doc check-git-repository distclean $(EXTRA_DIST) mkdir "$(distdir)"