summaryrefslogtreecommitdiff
path: root/release.sh
diff options
context:
space:
mode:
authorRené 'Necoro' Neumann <necoro@necoro.net>2010-05-11 18:41:30 +0200
committerRené 'Necoro' Neumann <necoro@necoro.net>2010-05-11 18:41:30 +0200
commit3816f2cfdfdb8a4f0dbb90a8c5b554f0b3a7e463 (patch)
tree0958c1642d867d36c81d6c1c3faba5e0f67438a9 /release.sh
parentcd6bfb92c8cf8bb18a77d84e3592002123f3407e (diff)
downloadportato-3816f2cfdfdb8a4f0dbb90a8c5b554f0b3a7e463.tar.gz
portato-3816f2cfdfdb8a4f0dbb90a8c5b554f0b3a7e463.tar.bz2
portato-3816f2cfdfdb8a4f0dbb90a8c5b554f0b3a7e463.zip
Add a README message to the release
Diffstat (limited to 'release.sh')
-rwxr-xr-xrelease.sh15
1 files changed, 14 insertions, 1 deletions
diff --git a/release.sh b/release.sh
index c2c5b62..254a3bb 100755
--- a/release.sh
+++ b/release.sh
@@ -14,7 +14,7 @@ replace_by ()
|| fail "Failure replacing $1" 1
}
-ver=$(git describe --tags)
+ver=$(git describe --tags | sed -e "s/^v//")
name=portato-$ver
echo ">>> Cloning..."
@@ -35,6 +35,19 @@ echo ">>> Patching setup.py."
sed -i -e "s/^.*#!REMOVE\$//" setup.py || fail "Failure removing lines" 1
sed -i -e "s/^\(\s*\)#!INSERT \(.*\)/\1\2/" setup.py || fail "Failure inserting lines" 1
+echo ">>> Creating README"
+cat << EOF > README
+This package is intended solely for being used system-wide (normally installed via Portage).
+
+If you want to have a packed version (for whatever reason), please use one of the following sources:
+
+* Packed snapshot: http://git.necoro.eu/portato.git/snapshot/portato-v${ver}.tar.gz
+* Git Tree: git clone git://necoro.eu/portato.git --> cd portato --> git checkout -b v${ver} v${ver}
+
+In both cases you should read: http://necoro.eu/portato/development
+
+EOF
+
popd > /dev/null
echo ">>> Packing"