Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Merged
merged 1 commit into from
Aug 22, 2023
Merged

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

merged 1 commit into from
Aug 22, 2023

Conversation

vgorin
Copy link
Contributor

@vgorin vgorin commented Aug 22, 2023

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

…on of the deploy scripts containing all the tags specified in --tags
@wighawag
Copy link
Owner

Yes, make sense

thanks for the PR!

@wighawag wighawag merged commit 4303e3b into wighawag:master Aug 22, 2023
@wighawag
Copy link
Owner

available in v0.11.37

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants