billowy-motherboard-5844309/24/2020, 5:09 PM
... is it true that the ONLY thing which cares about this is when you do
an actually build an artifact?
hundreds-father-40409/24/2020, 5:11 PM
You can also write your own plugins, though, which also use that value.
(Btw, we try to use threads with Slack to keep conversations more organized)
happy-kitchen-8948209/24/2020, 5:15 PM
hundreds-father-40409/24/2020, 5:15 PM
billowy-motherboard-5844309/24/2020, 5:26 PM
pants setup-py -- bdist_wheel....
the semver into place in BUILD
hundreds-father-40409/24/2020, 5:31 PM
If it’s only for Pants, you can write a plugin that will run those commands to determine the version for you and dynamically give it to Pants. In other words, the
will never be explicitly added to the
billowy-motherboard-5844309/24/2020, 5:36 PM
that file than write a plugin 🙂
is what would forever be in version control 🙂
hundreds-father-40409/24/2020, 5:39 PM
Just Works without needing a wrapper script.
But otherwise, doing this via sed and a wrapper script is totally acceptable and keeps it simple
Let us know if you do end up being interested in writing a plugin, for this or something else. We’re happy to help
billowy-motherboard-5844309/24/2020, 5:45 PM
without knowing which sub pkgs to do and getting it right
pants --since.... --...=transitive test