-
Notifications
You must be signed in to change notification settings - Fork 28
Expand file tree
/
Copy pathrelease
More file actions
executable file
·29 lines (22 loc) · 847 Bytes
/
release
File metadata and controls
executable file
·29 lines (22 loc) · 847 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
29
#! /bin/sh
cd "`dirname \"$0\"`"/.. &&
umask 022 &&
chmod -R a+rX . &&
find .git/objects -type f -exec chmod u=r,go= '{}' \+ &&
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`
. devscripts/split_tag.sh &&
split_tag $version
if [ "$state" = final ]; then
rsync -ahPv dist/* frs.sourceforge.net:/home/frs/project/sqlobject/sqlobject/"$version"/ &&
rsync -ahPv ANNOUNCE.rst frs.sourceforge.net:/home/frs/project/sqlobject/sqlobject/"$version"/README.rst || exit 1
devscripts/sftp-frs
fi &&
twine upload --disable-progress-bar --skip-existing dist/* &&
exec rm -rf build dist docs/html sqlobject.egg-info