From cc57876d44768b4e88a972971bc7a94dd8a75d40 Mon Sep 17 00:00:00 2001 From: Evaldo Felipe Date: Fri, 10 Jan 2025 16:03:45 -0300 Subject: [PATCH] test Signed-off-by: Evaldo Felipe --- package.json | 2 +- scripts/pre-build-env.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/package.json b/package.json index eeadc91e8..747a3d4e7 100644 --- a/package.json +++ b/package.json @@ -54,7 +54,7 @@ "scripts": { "start": "export REACT_APP_GIT_COMMIT_HASH=$(git rev-parse HEAD) && vite", "dev": "export REACT_APP_GIT_COMMIT_HASH=$(git rev-parse HEAD) && vite --port $PORT --host", - "build": "yarn prebuild-env && cat /tmp/output.env && yarn prebuild && echo $GIT_ENV_EXPORTED && export REACT_APP_GIT_COMMIT_HASH=$(git rev-parse HEAD) && tsc && vite build", + "build": "yarn prebuild-env && yarn prebuild && echo $GIT_ENV_EXPORTED && export REACT_APP_GIT_COMMIT_HASH=$(git rev-parse HEAD) && tsc && vite build", "prebuild": "tsx scripts/pre-build.ts", "prebuild-env": "./scripts/pre-build-env.sh", "analyze": "yarn build && rollup-plugin-visualizer --open ./bundle-size-analysis.json", diff --git a/scripts/pre-build-env.sh b/scripts/pre-build-env.sh index 1727c99e1..0f0752873 100755 --- a/scripts/pre-build-env.sh +++ b/scripts/pre-build-env.sh @@ -16,7 +16,6 @@ # -L https://raw.githubusercontent.com/${GIT_ENV_REPO}/${FILE_REMOTE} # echo "Updated data at ${FILE_PATH}" echo "exporting.." - cat ${FILE_PATH} source ${FILE_PATH} echo $GIT_ENV_EXPORTED else