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