add short shell script which commits pypi-server-standalone.py

This commit is contained in:
Ralf Schmitt 2011-12-05 22:09:20 +01:00
parent 7134ffc966
commit ee4319d7f6
2 changed files with 11 additions and 0 deletions

1
.gitignore vendored

@ -21,3 +21,4 @@ __pycache__/
/pypi-server-standalone.py
/.tox/
/pypiserver.egg-info/
/.standalone/

10
commit-standalone Executable file

@ -0,0 +1,10 @@
#! /bin/sh
gitversion=$(git describe --tags)
rm -rf .standalone
git-new-workdir . .standalone standalone 2>/dev/null|| exit 10
./gen-standalone.py
cp -p pypi-server-standalone.py .standalone
cd .standalone
git add .
git ci -m "add pypi-server-standalone $gitversion"