From 98c74d704e02ecb072f2f7c830a92bec474aaec2 Mon Sep 17 00:00:00 2001 From: milanmajchrak <90026355+milanmajchrak@users.noreply.github.com> Date: Mon, 8 Jan 2024 08:03:05 +0100 Subject: [PATCH] internal/verion-update-path (#492) * Updated `build.version.file.path` because the server cannot find `VERSION_D.txt` file * Added VERSION_D.txt info `.gitignore` * User ${dspace.dir} instead of absolute path --- .gitignore | 4 ++++ dspace/config/clarin-dspace.cfg | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/.gitignore b/.gitignore index 55b025c4d862..7589a6ce9475 100644 --- a/.gitignore +++ b/.gitignore @@ -37,6 +37,10 @@ nb-configuration.xml # Also ignore it under dspace/config /dspace/config/local.cfg +# Ignore VERSION_D.txt file which is used to track the DSpace version and commit hash +/dspace/config/VERSION_D.txt +/VERSION_D.txt + ##Mac noise .DS_Store diff --git a/dspace/config/clarin-dspace.cfg b/dspace/config/clarin-dspace.cfg index 754d6422c96a..c3223c48dc83 100644 --- a/dspace/config/clarin-dspace.cfg +++ b/dspace/config/clarin-dspace.cfg @@ -249,4 +249,4 @@ sync.storage.service.enabled = true ### The build version is stored in the specific file ### -build.version.file.path = dspace/config/VERSION_D.txt +build.version.file.path = ${dspace.dir}/config/VERSION_D.txt