Skip to content

Commit

Permalink
♻️ Include Contract Name in Deployment File Name (#201)
Browse files Browse the repository at this point in the history
  • Loading branch information
asghaier76 authored Oct 21, 2023
1 parent c54e1ea commit d8432bb
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ task(
path.join(
hre.config.paths.root,
"deployments",
`${hre.config.xdeploy.networks[i]}_deployment.json`,
`${hre.config.xdeploy.contract}_${hre.config.xdeploy.networks[i]}_deployment.json`,
),
);

Expand Down Expand Up @@ -216,7 +216,7 @@ task(
path.join(
hre.config.paths.root,
"deployments",
`${hre.config.xdeploy.networks[i]}_deployment_debug.json`,
`${hre.config.xdeploy.contract}_${hre.config.xdeploy.networks[i]}_deployment_debug.json`,
),
);

Expand Down Expand Up @@ -309,7 +309,7 @@ task(
path.join(
hre.config.paths.root,
"deployments",
`${hre.config.xdeploy.networks[i]}_deployment.json`,
`${hre.config.xdeploy.contract}_${hre.config.xdeploy.networks[i]}_deployment.json`,
),
);

Expand Down Expand Up @@ -351,7 +351,7 @@ task(
path.join(
hre.config.paths.root,
"deployments",
`${hre.config.xdeploy.networks[i]}_deployment_debug.json`,
`${hre.config.xdeploy.contract}_${hre.config.xdeploy.networks[i]}_deployment_debug.json`,
),
);

Expand Down

0 comments on commit d8432bb

Please sign in to comment.