9c6ee729d6
GitOrigin-RevId: 6cee3b5893090b0f5f0a06b4cf42ca4e60e5d222
8 lines
240 B
Bash
8 lines
240 B
Bash
version-pretend-hook() {
|
|
echo "Setting POETRY_DYNAMIC_VERSIONING_BYPASS to $version"
|
|
export POETRY_DYNAMIC_VERSIONING_BYPASS=$version
|
|
}
|
|
|
|
if [ -z "${dontBypassPoetryDynamicVersioning-}" ]; then
|
|
preBuildHooks+=(version-pretend-hook)
|
|
fi
|