wighawag / hardhat-deploy

hardhat deployment plugin
MIT License
1.17k stars 283 forks source link

introduce the --tags-require-all flag #481

Closed vgorin closed 10 months ago

vgorin commented 10 months ago

when using hardhat-deploy from command line I always lack the ability to execute the deployment scripts on the intersection of different tags, for exampleI would expect

npx hardhat deploy --tags v2_8,upgrade,l1

to only upgrade the v2.8 contracts on layer1

This PR introduces the --tags-require-all command line flag which changes the logic of how the --tags option is processed: comma is treated as logical AND instead of logical OR

wighawag commented 10 months ago

Yes, make sense

thanks for the PR!

wighawag commented 10 months ago

available in v0.11.37