From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 79CAE13888F for ; Sat, 10 Oct 2015 12:11:18 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9FC2521C019; Sat, 10 Oct 2015 12:11:14 +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 6020221C017 for ; Sat, 10 Oct 2015 12:11:13 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 36E4F34086C for ; Sat, 10 Oct 2015 12:11:12 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 55415DFA for ; Sat, 10 Oct 2015 12:11:08 +0000 (UTC) From: "Sven Vermeulen" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Vermeulen" Message-ID: <1440703998.107c53784485e58d5f04a26e9cb462eaf7740865.swift@gentoo> Subject: [gentoo-commits] proj/hardened-refpolicy:swift commit in: gentoo/ X-VCS-Repository: proj/hardened-refpolicy X-VCS-Files: gentoo/release-prepare.sh X-VCS-Directories: gentoo/ X-VCS-Committer: swift X-VCS-Committer-Name: Sven Vermeulen X-VCS-Revision: 107c53784485e58d5f04a26e9cb462eaf7740865 X-VCS-Branch: swift Date: Sat, 10 Oct 2015 12:11:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b5cb76f3-0553-4da1-809b-1e67535028b6 X-Archives-Hash: 2d47dc007dad77294b6540fded48bae0 commit: 107c53784485e58d5f04a26e9cb462eaf7740865 Author: Jason Zaman perfinion com> AuthorDate: Thu Aug 27 19:33:18 2015 +0000 Commit: Sven Vermeulen gentoo 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;