https://pantsbuild.org/ logo
#general
Title
# general
b

bitter-ability-32190

06/10/2022, 3:55 PM
Whats the best way to extract the Pants version from
pants.toml
without running
./pants
? Ideally I run the
determine_pants_version
from the Pants runner, but I'm not sure thats possible, very easily
Looks like that function just boils down to two complicated
sed
calls...
c

calm-ambulance-65371

06/10/2022, 3:59 PM
I've used
stoml
in the past
r

rhythmic-morning-87313

06/11/2022, 6:53 AM
This is what I did...
b

bitter-ability-32190

06/11/2022, 3:13 PM
Oh command line python with
re
ain't bad
3 Views