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

# tagging
hg tag $VERSION -f
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 clean
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