Make development version strings PEP 440 compliant #366
1 changed files with 1 additions and 1 deletions
|
@ -534,7 +534,7 @@ eof
|
||||||
;;
|
;;
|
||||||
|
|
||||||
version)
|
version)
|
||||||
target_version="$(git describe | sed 's/-/.dev/' | sed 's/-/+/g')"
|
target_version="$(git describe | sed 's/-/.dev/; s/-/+/g')"
|
||||||
printf "VERSION = \"%s\"\n" "${target_version}" > cdist/version.py
|
printf "VERSION = \"%s\"\n" "${target_version}" > cdist/version.py
|
||||||
;;
|
;;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue