commit:     107c53784485e58d5f04a26e9cb462eaf7740865
Author:     Jason Zaman <jason <AT> perfinion <DOT> com>
AuthorDate: Thu Aug 27 19:33:18 2015 +0000
Commit:     Sven Vermeulen <swift <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;

Reply via email to