post-build versioning does not work, although explicitly mentioned in the docs #5398
Open
2 tasks done
Labels
type::bug
describes erroneous operation, use severity::* to classify the type
Checklist
What happened?
I attempted to set the package version during the post-build phase as described in the the brief paragraph from the most recent conda-build docs.
Based on this, I assumed the environment variables or templated code would be evaluated lazily (OS is Windows). However, this did not work.
The build command succeeds, but the version is set to
None
, indicating that the environment variablePACKAGE_VERSION
is not being evaluated as expected. My experiments suggest that the version is always set before the build phase.Conda Info
Conda Config
Conda list
Additional Context
No response
The text was updated successfully, but these errors were encountered: