mirror of
https://github.com/ClusterCockpit/cc-backend
synced 2025-04-03 18:55:55 +02:00
chore: Update build script to fix version.txt creation
This commit is contained in:
parent
80b5017308
commit
92a4c40d49
3
build.sh
3
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"
|
||||
|
Loading…
x
Reference in New Issue
Block a user