projects
/
portage.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c3052b
)
mkrelease.sh: set portage.VERSION
author
Zac Medico
<zmedico@gentoo.org>
Fri, 31 Dec 2010 08:12:03 +0000
(
00:12
-0800)
committer
Zac Medico
<zmedico@gentoo.org>
Fri, 31 Dec 2010 08:12:03 +0000
(
00:12
-0800)
mkrelease.sh
patch
|
blob
|
history
diff --git
a/mkrelease.sh
b/mkrelease.sh
index e8fb98dc84b3c4af1bf8ea3e57b30428cd3f5c28..bfd1d4bd243a42c8570a628def8749068051ae51 100755
(executable)
--- 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