forked from sqlobject/sqlobject
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathrelease
More file actions
executable file
·28 lines (21 loc) · 765 Bytes
/
Copy pathrelease
File metadata and controls
executable file
·28 lines (21 loc) · 765 Bytes
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
#! /bin/sh
cd "`dirname \"$0\"`"/.. &&
umask 022 &&
chmod -R a+rX . &&
set-commit-date.py &&
devscripts/build-docs &&
python setup.py build_py &&
python setup.py build --executable '/usr/bin/env python' &&
python setup.py sdist &&
find build -name '*.py[co]' -delete &&
python setup.py bdist_wheel --universal &&
version=`python setup.py --version`
. `dirname $0`/split.sh &&
split_tag $version
if [ "$state" = final ]; then
rsync -ahP4 dist/* frs.sourceforge.net:/home/frs/project/sqlobject/sqlobject/"$version"/ &&
rsync -ahP4 ANNOUNCE.rst frs.sourceforge.net:/home/frs/project/sqlobject/sqlobject/"$version"/README.rst || exit 1
devscripts/sftp-frs
fi &&
twine upload --skip-existing dist/* &&
exec rm -rf build dist docs/html SQLObject.egg-info