Skip to content

Commit

Permalink
Added missing tags to the helper deployments scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
0xbraindevd committed Nov 27, 2023
1 parent 7b7f996 commit 4facba8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions deploy/998_initialize_contracts.ts
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,5 @@ const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
};

export default func;
func.tags = ['v1', 'v2'];
func.runAtTheEnd = true;
3 changes: 2 additions & 1 deletion deploy/999_save_deployments.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,13 @@ import { DeployFunction } from 'hardhat-deploy/types';
import { HardhatRuntimeEnvironment } from 'hardhat/types';

const func: DeployFunction = async function (hre: HardhatRuntimeEnvironment) {
const networkPrefixes = ['otp', 'gno'];
const networkPrefixes = ['otp', 'gnosis'];

if (networkPrefixes.some((networkPrefix) => hre.network.name.startsWith(networkPrefix))) {
hre.helpers.saveDeploymentsJson('deployments');
}
};

export default func;
func.tags = ['v1', 'v2'];
func.runAtTheEnd = true;

0 comments on commit 4facba8

Please sign in to comment.