forked from github.com/pypiserver
add short shell script which commits pypi-server-standalone.py
This commit is contained in:
parent
7134ffc966
commit
ee4319d7f6
1
.gitignore
vendored
1
.gitignore
vendored
@ -21,3 +21,4 @@ __pycache__/
|
||||
/pypi-server-standalone.py
|
||||
/.tox/
|
||||
/pypiserver.egg-info/
|
||||
/.standalone/
|
||||
|
10
commit-standalone
Executable file
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"
|
Loading…
Reference in New Issue
Block a user