From 92a4c40d49f7e35da32d8fe9c9d32d75f610cb5a Mon Sep 17 00:00:00 2001 From: sanjay7178 Date: Sat, 1 Jun 2024 11:19:51 +0530 Subject: [PATCH] chore: Update build script to fix version.txt creation --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 9e671bd..922d422 100644 --- a/build.sh +++ b/build.sh @@ -1,4 +1,5 @@ #!/bin/bash +# DB_VERSION="1 cp ./configs/env-template.txt .env cp ./configs/config-demo.json config.json if [ ! -d ./var ]; then @@ -8,7 +9,7 @@ if [ ! -d ./var/job-archive ]; then mkdir -p ./var/job-archive fi if [ ! -f ./var/job-archive/version.txt ]; then - cat 1 > ./var/job-archive/version.txt + echo 1 > ./var/job-archive/version.txt fi TARGET="./cc-backend" VAR="./var"