aboutsummaryrefslogtreecommitdiffstats
path: root/release.sh
blob: 08ef0ee274c140c0a881c2653cd21ab1e05f4f7f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/bin/sh
export VERSION="0.6.13"

# tagging
hg tag $VERSION
hg ci -m "bumped revision"

# creating the releases
rm -rf ./dist

# now preparing the source release, pushing it and its doc
python2.6 setup.py -q egg_info -RDb '' sdist register upload
cd docs/
make html
cd ..
python2.6 setup.py upload_docs

# pushing the bootstrap script
scp distribute_setup.py ziade.org:websites/python-distribute.org/

# starting the new dev
hg push