Updated MapnikReleaseSteps (markdown)
parent
551c481308
commit
5492d43fb1
1 changed files with 17 additions and 8 deletions
|
@ -79,17 +79,26 @@ git push --tags
|
||||||
```sh
|
```sh
|
||||||
cd /tmp
|
cd /tmp
|
||||||
MAPNIK_VERSION=`mapnik-config --version`
|
MAPNIK_VERSION=`mapnik-config --version`
|
||||||
TARBALL_DIR="mapnik-v${MAPNIK_VERSION}"
|
TARBALL_NAME="mapnik-v${MAPNIK_VERSION}"
|
||||||
git clone git@github.com:mapnik/mapnik.git $TARBALL_DIR
|
git clone git@github.com:mapnik/mapnik.git ${TARBALL_NAME}
|
||||||
cd $TARBALL_DIR
|
cd ${TARBALL_NAME}
|
||||||
git checkout "tags/v${MAPNIK_VERSION}"
|
git checkout "tags/v${MAPNIK_VERSION}"
|
||||||
cd ../
|
cd ../
|
||||||
rm -rf $TARBALL_DIR/.git
|
rm -rf ${TARBALL_NAME}/.git
|
||||||
rm -rf $TARBALL_DIR/.gitignore
|
rm -rf ${TARBALL_NAME}/.gitignore
|
||||||
tar cjf $TARBALL_DIR.tar.bz2 $TARBALL_DIR/
|
tar cjf ${TARBALL_NAME}.tar.bz2 ${TARBALL_NAME}/
|
||||||
|
```
|
||||||
|
|
||||||
TARBALL_NAME="mapnik-v`mapnik-config --version`"
|
Note: if creating a release candidate do instead:
|
||||||
git archive --format=tar tags/v2.0.2 | bzip2 > ${TARBALL_NAME}.tar.bz2
|
|
||||||
|
```
|
||||||
|
cd /tmp
|
||||||
|
MAPNIK_VERSION="2.1.0rc0"
|
||||||
|
TARBALL_NAME="mapnik-v${MAPNIK_VERSION}"
|
||||||
|
git clone git@github.com:mapnik/mapnik.git ${TARBALL_NAME}
|
||||||
|
rm -rf ${TARBALL_NAME}/.git
|
||||||
|
rm -rf ${TARBALL_NAME}/.gitignore
|
||||||
|
tar cjf ${TARBALL_NAME}.tar.bz2 ${TARBALL_NAME}/
|
||||||
```
|
```
|
||||||
|
|
||||||
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…
Add table
Reference in a new issue