diff options
author | Jason Zaman <jason@perfinion.com> | 2015-08-28 03:33:18 +0800 |
---|---|---|
committer | Jason Zaman <jason@perfinion.com> | 2015-08-28 03:33:18 +0800 |
commit | 107c53784485e58d5f04a26e9cb462eaf7740865 (patch) | |
tree | 0fd469446bc474b65ccd6fa1a4c2f55f2f8bda1b /gentoo | |
parent | Merge Upstream (diff) | |
download | hardened-refpolicy-107c53784485e58d5f04a26e9cb462eaf7740865.tar.gz hardened-refpolicy-107c53784485e58d5f04a26e9cb462eaf7740865.tar.bz2 hardened-refpolicy-107c53784485e58d5f04a26e9cb462eaf7740865.zip |
release-prepare.sh: update for cvs->git migration and sign tags
Diffstat (limited to 'gentoo')
-rw-r--r-- | gentoo/release-prepare.sh | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/gentoo/release-prepare.sh b/gentoo/release-prepare.sh index efd5447a..d88b7ba9 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; |