From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-830858-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id CBAAE13989A for <garchives@archives.gentoo.org>; Thu, 27 Aug 2015 19:53:06 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6ADB314289; Thu, 27 Aug 2015 19:53:06 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 0729114289 for <gentoo-commits@lists.gentoo.org>; Thu, 27 Aug 2015 19:53:00 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D77DF3407E2 for <gentoo-commits@lists.gentoo.org>; Thu, 27 Aug 2015 19:52:58 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C3CEC130 for <gentoo-commits@lists.gentoo.org>; Thu, 27 Aug 2015 19:52:55 +0000 (UTC) From: "Jason Zaman" <perfinion@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, "Jason Zaman" <perfinion@gentoo.org> Message-ID: <1440703998.107c53784485e58d5f04a26e9cb462eaf7740865.perfinion@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:master commit in: gentoo/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: gentoo/release-prepare.sh X-VCS-Directories: gentoo/ X-VCS-Committer: perfinion X-VCS-Committer-Name: Jason Zaman X-VCS-Revision: 107c53784485e58d5f04a26e9cb462eaf7740865 X-VCS-Branch: master Date: Thu, 27 Aug 2015 19:52:55 +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: 56b95cb1-3d48-4dad-99c4-955fb682040c X-Archives-Hash: c6cb31cd415c094d6e4b0e6f1187ea6f Message-ID: <20150827195255.erYDNKXKDdpvCbAPIaPU5JA200jn6Zlaejd7nlob4Qc@z> commit: 107c53784485e58d5f04a26e9cb462eaf7740865 Author: Jason Zaman <jason <AT> perfinion <DOT> com> AuthorDate: Thu Aug 27 19:33:18 2015 +0000 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org> CommitDate: Thu Aug 27 19:33:18 2015 +0000 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=107c5378 release-prepare.sh: update for cvs->git migration and sign tags gentoo/release-prepare.sh | 16 +++++++++++----- 1 file changed, 11 insertions(+), 5 deletions(-) diff --git a/gentoo/release-prepare.sh b/gentoo/release-prepare.sh index efd5447..d88b7ba 100644 --- a/gentoo/release-prepare.sh +++ b/gentoo/release-prepare.sh @@ -98,8 +98,7 @@ createEbuilds() { tagRelease() { printf "Creating tag ${NEWVERSION} in our repository... "; cd ${HARDENEDREFPOL}; - git tag -a ${NEWVERSION} -m "Release set of ${NEWVERSION}" > /dev/null 2>&1 || die "Failed to create tag"; - git push origin ${NEWVERSION} > /dev/null 2>&1 || die "Failed to push tag to origin repository"; + git tag -a ${NEWVERSION} -m "Release set of ${NEWVERSION}" --sign > /dev/null 2>&1 || die "Failed to create tag"; printf "done\n"; }; @@ -128,14 +127,21 @@ cat << EOF The release has now been prepared. Please go do the following to finish up: -- In ${GENTOOX86}/sec-policy go "cvs add" all the new ebuilds -- In ${GENTOOX86}/sec-policy run "repoman manifest" and "repoman full" + +In ${GENTOOX86}/sec-policy: +git add . +repoman --digest=y full Then, before finally committing - do a run yourself, ensuring that the right version is deployed of course: - "emerge -1 \$(qlist -IC sec-policy)" -Only then do a 'repoman commit -m 'Release of ${NEWVERSION}''. +Only then do: +repoman commit -m 'sec-policy: Release of SELinux policies ${NEWVERSION}' +git push --sign + +In ${HARDENEDREFPOL} do: +git push origin --tags EOF cleanTmp;