depot/third_party/nixpkgs/pkgs/development/python-modules/pdm-backend/setup-hook.sh
Default email 9c6ee729d6 Project import generated by Copybara.
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
2023-07-15 19:15:38 +02:00

8 lines
209 B
Bash

version-pretend-hook() {
echo "Setting PDM_BUILD_SCM_VERSION to $version"
export PDM_BUILD_SCM_VERSION=$version
}
if [ -z "${dontSetPdmBackendVersion-}" ]; then
preBuildHooks+=(version-pretend-hook)
fi