Make development version strings PEP 440 compliant #366

Merged
fnux merged 2 commits from :pep-440-fix into master 2024-05-01 12:11:08 +00:00
Showing only changes of commit 853aac03da - Show all commits

View file

@ -534,7 +534,7 @@ eof
;;
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
;;