From 1793a890d95979d17f39d1046686f7cda169e919 Mon Sep 17 00:00:00 2001 From: 0xmuralik Date: Wed, 28 Dec 2022 16:12:34 +0530 Subject: [PATCH] remove version from record --- src/testing/data/watcher.yml | 1 - src/testing/helper.ts | 6 +++--- 2 files changed, 3 insertions(+), 4 deletions(-) diff --git a/src/testing/data/watcher.yml b/src/testing/data/watcher.yml index f6357f5..06d66eb 100644 --- a/src/testing/data/watcher.yml +++ b/src/testing/data/watcher.yml @@ -4,4 +4,3 @@ record: repo_registration_record_cid: QmSnuWmxptJZdLJpKRarxBMS2Ju2oANVrgbr2xWbie9b2D build_artifact_cid: QmP8jTG1m9GSDJLCbeWhVSVgEzCPPwXRdCRuJtQ5Tz9Kc9 tls_cert_cid: QmbWqxBEKC3P8tqsKc98xmWNzrzDtRLMiMPL8wBuTGsMnR - version: null diff --git a/src/testing/helper.ts b/src/testing/helper.ts index 86cde9f..9db61ce 100644 --- a/src/testing/helper.ts +++ b/src/testing/helper.ts @@ -7,15 +7,15 @@ import { DEFAULT_CHAIN_ID, Registry } from '../index'; export const ensureUpdatedConfig = async (path: string) => { const conf = await yaml.read(path); - conf.record.version = semver.inc(conf.record.version, 'patch'); - await yaml.write(path, conf); + // conf.record.version = semver.inc(conf.record.version, 'patch'); + // await yaml.write(path, conf); return conf; }; export const getBaseConfig = async (path: string) => { const conf = await yaml.read(path); - conf.record.version = '0.0.1'; + // conf.record.version = '0.0.1'; return conf; };