blob: 74be096561bd27bdec59531dea6e02194f1a24bb (
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
25
26
27
28
29
|
#!/bin/sh
export VERSION="0.6.5"
# tagging
hg tag $VERSION
hg ci -m "bumped revision"
# creating the 3k script
mkdir ./temp
cp distribute_setup.py ./temp/distribute_setup.py
cd ./temp
2to3 -w distribute_setup.py > /dev/null
mv distribute_setup.py ../distribute_setup_3k.py
cd ..
rm -rf ./temp
# 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
python2.6 setup.py build_sphinx upload_docs
# pushing the bootstrap scripts
scp distribute_setup.py ziade.org:nightly/build/
scp distribute_setup_3k.py ziade.org:nightly/build/
# starting the new dev
|