File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ #! /bin/sh -e
2+
3+ # Works only in the hg repo incarnation of the source tree.
4+ # Mercurial, docutils, setuptools needs to be installed.
5+
6+ if ! hg log -r tip --template ' {desc}' | grep -q ' Added tag .* for changeset' ; then
7+ echo " you forgot to tag before release!" 2>&1
8+ exit 1
9+ fi
10+
11+ hg_tag=" ` hg tags | awk ' {if ($0 !~ /^tip /) { print $1; exit; }}' ` "
12+ setupdotpy_version=" ` python setup.py -V` "
13+ if ! [ " $hg_tag " = " $setupdotpy_version " ]; then
14+ echo " HG tag '$hg_tag ' doesn't match reported program version '$setupdotpy_version '" 2>&1
15+ exit 1
16+ fi
17+
18+ hg log --style util/fusepychangelog.tmpl | grep -v ' ^TAGS: tip$' > Changelog
19+ rst2html.py --stylesheet util/voidspace-fusepy.css README.new_fusepy_api > README.new_fusepy_api.html
20+ python setup.py sdist
21+ python setup.py bdist_egg
You can’t perform that action at this time.
0 commit comments