From cf400abddbc45b47507ee2ab7c71b4f304d6f251 Mon Sep 17 00:00:00 2001 From: springmeyer Date: Mon, 6 Aug 2012 00:35:46 -0700 Subject: [PATCH] Updated MapnikReleaseSteps (markdown) --- MapnikReleaseSteps.md | 15 +++++++++++++-- 1 file changed, 13 insertions(+), 2 deletions(-) diff --git a/MapnikReleaseSteps.md b/MapnikReleaseSteps.md index 9c0a930..c7c2b98 100644 --- a/MapnikReleaseSteps.md +++ b/MapnikReleaseSteps.md @@ -72,8 +72,19 @@ git push --tags * Create a clean tarball: ```sh -TARBALL_NAME="mapnik-v`mapnik-config --version`.tar.bz2" -git archive --format=tar tags/v2.0.2 | bzip2 > ${TARBALL_NAME} +cd /tmp +MAPNIK_VERSION=`mapnik-config --version` +TARBALL_DIR="mapnik-v${MAPNIK_VERSION}" +git clone git@github.com:mapnik/mapnik.git $TARBALL_DIR +cd $TARBALL_DIR +git checkout "tags/v${MAPNIK_VERSION}" +cd ../ +rm -rf $TARBALL_DIR/.git +rm -rf $TARBALL_DIR/.gitignore +tar cjf $TARBALL_DIR.tar.bz2 $TARBALL_DIR/ + +TARBALL_NAME="mapnik-v`mapnik-config --version`" +git archive --format=tar tags/v2.0.2 | bzip2 > ${TARBALL_NAME}.tar.bz2 ``` Then upload that tarball to the [downloads page](https://github.com/mapnik/mapnik/downloads).