mirror of
https://github.com/jazzband/django-ddp.git
synced 2026-04-26 17:54:51 +00:00
Allow for XX.YYY.ZZZZ version numbers, not just X.Y.Z
This commit is contained in:
parent
cb46caf9ff
commit
59869add98
1 changed files with 1 additions and 1 deletions
|
|
@ -1,3 +1,3 @@
|
|||
#!/bin/sh
|
||||
cd "${0%/*}"
|
||||
cat setup.py | sed -e "s/version='[0123456789]\+\.[0123456789]\+\.[01234567989]\+'/version='$( git rev-parse --abbrev-ref HEAD | cut -d / -f 2 )'/" > setup.py
|
||||
cat setup.py | sed -e "s/version='[0123456789]\{1,\}\.[0123456789]\{1,\}\.[01234567989]\{1,\}'/version='$( git rev-parse --abbrev-ref HEAD | cut -d / -f 2 )'/" > setup.py
|
||||
|
|
|
|||
Loading…
Reference in a new issue