mirror of
https://github.com/jazzband/django-ddp.git
synced 2026-03-17 06:50:24 +00:00
3 lines
194 B
Bash
Executable file
3 lines
194 B
Bash
Executable file
#!/bin/sh
|
|
cd "${0%/*}"
|
|
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
|