Updated MapnikReleaseSteps (markdown)
parent
258bb6afd3
commit
cf400abddb
1 changed files with 13 additions and 2 deletions
|
@ -72,8 +72,19 @@ git push --tags
|
||||||
* Create a clean tarball:
|
* Create a clean tarball:
|
||||||
|
|
||||||
```sh
|
```sh
|
||||||
TARBALL_NAME="mapnik-v`mapnik-config --version`.tar.bz2"
|
cd /tmp
|
||||||
git archive --format=tar tags/v2.0.2 | bzip2 > ${TARBALL_NAME}
|
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).
|
Then upload that tarball to the [downloads page](https://github.com/mapnik/mapnik/downloads).
|
||||||
|
|
Loading…
Reference in a new issue