Gentoo Archives: gentoo-commits

From: Jason Zaman <perfinion@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] proj/hardened-refpolicy:next commit in: gentoo/
Date: Thu, 27 Aug 2015 19:34:49
Message-Id: 1440703998.107c53784485e58d5f04a26e9cb462eaf7740865.perfinion@gentoo
1 commit: 107c53784485e58d5f04a26e9cb462eaf7740865
2 Author: Jason Zaman <jason <AT> perfinion <DOT> com>
3 AuthorDate: Thu Aug 27 19:33:18 2015 +0000
4 Commit: Jason Zaman <perfinion <AT> gentoo <DOT> org>
5 CommitDate: Thu Aug 27 19:33:18 2015 +0000
6 URL: https://gitweb.gentoo.org/proj/hardened-refpolicy.git/commit/?id=107c5378
7
8 release-prepare.sh: update for cvs->git migration and sign tags
9
10 gentoo/release-prepare.sh | 16 +++++++++++-----
11 1 file changed, 11 insertions(+), 5 deletions(-)
12
13 diff --git a/gentoo/release-prepare.sh b/gentoo/release-prepare.sh
14 index efd5447..d88b7ba 100644
15 --- a/gentoo/release-prepare.sh
16 +++ b/gentoo/release-prepare.sh
17 @@ -98,8 +98,7 @@ createEbuilds() {
18 tagRelease() {
19 printf "Creating tag ${NEWVERSION} in our repository... ";
20 cd ${HARDENEDREFPOL};
21 - git tag -a ${NEWVERSION} -m "Release set of ${NEWVERSION}" > /dev/null 2>&1 || die "Failed to create tag";
22 - git push origin ${NEWVERSION} > /dev/null 2>&1 || die "Failed to push tag to origin repository";
23 + git tag -a ${NEWVERSION} -m "Release set of ${NEWVERSION}" --sign > /dev/null 2>&1 || die "Failed to create tag";
24 printf "done\n";
25 };
26
27 @@ -128,14 +127,21 @@ cat << EOF
28 The release has now been prepared.
29
30 Please go do the following to finish up:
31 -- In ${GENTOOX86}/sec-policy go "cvs add" all the new ebuilds
32 -- In ${GENTOOX86}/sec-policy run "repoman manifest" and "repoman full"
33 +
34 +In ${GENTOOX86}/sec-policy:
35 +git add .
36 +repoman --digest=y full
37
38 Then, before finally committing - do a run yourself, ensuring that the right
39 version is deployed of course:
40 - "emerge -1 \$(qlist -IC sec-policy)"
41
42 -Only then do a 'repoman commit -m 'Release of ${NEWVERSION}''.
43 +Only then do:
44 +repoman commit -m 'sec-policy: Release of SELinux policies ${NEWVERSION}'
45 +git push --sign
46 +
47 +In ${HARDENEDREFPOL} do:
48 +git push origin --tags
49 EOF
50
51 cleanTmp;