1 pdm-version-pretend-hook
() {
2 if [ -z "${PDM_BUILD_SCM_VERSION-}" ]; then
3 echo "Setting PDM_BUILD_SCM_VERSION to $version"
4 export PDM_BUILD_SCM_VERSION
="$version"
8 if [ -z "${dontSetPdmBackendVersion-}" ]; then
9 preBuildHooks
+=(pdm-version-pretend-hook
)