Open nataouze opened 2 years ago
Hello, any plan to look at this issue?
Hey you can just release your external deployments as npm package, import them in your project and just import the deployment function in a deployment file and add func.tags = ["Tag"];
in this file.. Please provide some code I can help with that
Describe the bug When running
hardhat deploy
with the--tags
option, a deploy script that has a dependency on anexternal
deploy script fails to run this dependency.Expected behavior The
external
deploy scripts should consistently be usable asdependencies
, whether--tags
is used or not, same as with the local deploy scripts.Alternative to bypass the issue Adding the dependency deploy script tag in the list of
--tags
correctly runs it.versions