aboutsummaryrefslogtreecommitdiffstats
path: root/release.sh
blob: 667fd5fe44a5bb9f3421bcacff4782649f3234ef (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.21"

# 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