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

millions-psychiatrist-72923

05/27/2022, 9:55 PM
What's the proper way of running all scripts with the name
deploy
that changed since
origin/main
? I tried
./pants run --changed-since=origin/main --changed-dependees=transitive ":deploy"
but that gave me
Copy code
You used `--changed-since` at the same time as using target arguments. Please use only one.
1
h

hundreds-father-404

05/27/2022, 9:59 PM
Something like
./pants --changed-since=... filter --address-regex='blah blah'
Note that I'm using
filter
because you can only run one thing at a time. So you could save the output and then invoke Pants sequentially
m

millions-psychiatrist-72923

05/31/2022, 5:51 PM
Ah, that works. Thanks!
❤️ 1