From 9335284deee348127ef0a4a9d24967a685be0a49 Mon Sep 17 00:00:00 2001 From: echo Date: Wed, 23 Oct 2024 19:22:27 +0800 Subject: [PATCH] fix build info issue --- packages/plugins/package.json | 2 +- packages/plugins/src/cli/propose/index.ts | 2 +- packages/plugins/src/cli/version.ts | 2 +- packages/plugins/src/foundry/utils/index.ts | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/packages/plugins/package.json b/packages/plugins/package.json index 7a44c4383..1685ebbf0 100644 --- a/packages/plugins/package.json +++ b/packages/plugins/package.json @@ -1,6 +1,6 @@ { "name": "@hujw77/plugins", - "version": "0.1.27", + "version": "0.1.28", "description": "Sphinx plugins", "main": "dist/index", "types": "dist/index", diff --git a/packages/plugins/src/cli/propose/index.ts b/packages/plugins/src/cli/propose/index.ts index e64b8def4..cd0186706 100644 --- a/packages/plugins/src/cli/propose/index.ts +++ b/packages/plugins/src/cli/propose/index.ts @@ -148,7 +148,7 @@ export const buildNetworkConfigArray: BuildNetworkConfigArray = async ( // We specify build info to be false so that calling the script does not cause the users entire // project to be rebuilt if they have `build_info=true` defined in their foundry.toml file. // We do need the build info, but that is generated when we compile at the beginning of the script. - FOUNDRY_BUILD_INFO: 'false', + // FOUNDRY_BUILD_INFO: 'false', }) if (spawnOutput.code !== 0) { diff --git a/packages/plugins/src/cli/version.ts b/packages/plugins/src/cli/version.ts index d7243bcc6..49762f7e8 100644 --- a/packages/plugins/src/cli/version.ts +++ b/packages/plugins/src/cli/version.ts @@ -1 +1 @@ -export const SPHINX_PLUGINS_VERSION = 'v0.1.27' +export const SPHINX_PLUGINS_VERSION = 'v0.1.28' diff --git a/packages/plugins/src/foundry/utils/index.ts b/packages/plugins/src/foundry/utils/index.ts index 0bf9f012a..2908fb485 100644 --- a/packages/plugins/src/foundry/utils/index.ts +++ b/packages/plugins/src/foundry/utils/index.ts @@ -842,7 +842,7 @@ export const callForgeScriptFunction = async ( // We specify build info to be false so that calling the script does not cause the users entire // project to be rebuilt if they have `build_info=true` defined in their foundry.toml file. // We do need the build info, but that is generated when we compile at the beginning of the script. - FOUNDRY_BUILD_INFO: 'false', + // FOUNDRY_BUILD_INFO: 'false', }) if (testCode !== 0) { @@ -869,7 +869,7 @@ export const callForgeScriptFunction = async ( // We specify build info to be false so that calling the script does not cause the users entire // project to be rebuilt if they have `build_info=true` defined in their foundry.toml file. // We do need the build info, but that is generated when we compile at the beginning of the script. - FOUNDRY_BUILD_INFO: 'false', + // FOUNDRY_BUILD_INFO: 'false', }) // For good measure, we still read the code and error if necessary but this is unlikely to be triggered