Merge sed commands

This commit is contained in:
lubo 2023-06-04 14:37:34 +02:00
parent ffbd043971
commit 853aac03da
Signed by untrusted user: lubo
GPG key ID: CAEDE3D60E2B4E43

View file

@ -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
;; ;;