]> git.phdru.name Git - sqlconvert.git/blob - devscripts/release
Build(release): Do not GPG-sign release files
[sqlconvert.git] / devscripts / release
1 #! /bin/sh
2
3 cd "`dirname \"$0\"`"/.. &&
4 umask 022 &&
5 chmod -R a+rX . &&
6 set-commit-date.py &&
7
8 python setup.py build_py &&
9 python setup.py build --executable '/usr/bin/env python' &&
10 python setup.py sdist &&
11
12 for py in 2.7 3.4 3.5 3.6; do
13    find build -name '*.py[co]' -delete &&
14    python$py setup.py build_py &&
15    python$py setup.py build --executable '/usr/bin/env python' &&
16    python$py    -m compileall build &&
17    python$py -O -m compileall build &&
18    python$py setup.py bdist_egg || exit 1
19 done
20
21 find build -name '*.py[co]' -delete &&
22 python setup.py bdist_wheel --universal &&
23
24 twine upload dist/* &&
25 exec rm -rf build dist sqlconvert.egg-info