Skip to content

Commit

Permalink
Merge pull request #193 from OriginTrail/fix/ds-tags
Browse files Browse the repository at this point in the history
Added missing tags to the helper deployments scripts
  • Loading branch information
0xbraindevd authored Nov 27, 2023
2 parents 7b7f996 + 4facba8 commit d41b0e6
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 d41b0e6

Please sign in to comment.