From 1ceeddf36574b9019258f3c3d4b08739e9e32d7a Mon Sep 17 00:00:00 2001 From: Zac Medico Date: Fri, 31 Dec 2010 00:12:03 -0800 Subject: [PATCH] mkrelease.sh: set portage.VERSION --- mkrelease.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/mkrelease.sh b/mkrelease.sh index e8fb98dc8..bfd1d4bd2 100755 --- a/mkrelease.sh +++ b/mkrelease.sh @@ -71,6 +71,11 @@ cp "${SOURCE_DIR}/"{DEVELOPING,LICENSE,NEWS,RELEASE-NOTES,TEST-NOTES} \ rm -rf "$SOURCE_DIR" || die "directory cleanup failed" +echo ">>> Setting portage.VERSION" +sed -e "s/^VERSION=.*/VERSION=\"${VERSION}\"/" \ + -i "${RELEASE_DIR}/pym/portage/__init__.py" || \ + die "Failed to patch portage.VERSION" + echo ">>> Creating Changelog" git_log_opts="" if [ -n "$CHANGELOG_REVISION" ] ; then -- 2.26.2