From 4f69bc3c7eafe7f308f026f698f2dbb89f301ee2 Mon Sep 17 00:00:00 2001 From: DarkCat09 Date: Thu, 27 Jul 2023 12:53:33 +0400 Subject: [PATCH] Version file must be copied --- build.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/build.sh b/build.sh index 86c39d2..0f4ad20 100755 --- a/build.sh +++ b/build.sh @@ -134,8 +134,8 @@ cd_and_exec backend/build/libs \ find . -maxdepth 1 -name 'piped-*-all.jar' -exec \ cp {} "$WORKDIR/piped.jar" \; -title 'Copying config...' -cd_and_exec backend cp config.properties "$WORKDIR" +title 'Copying config and version...' +cd_and_exec backend cp config.properties VERSION "$WORKDIR" title 'Cleaning up...' rm -rf backend reqwest4j @@ -149,7 +149,7 @@ echo '*** ************** ***' title 'You need these files:' -for f in "piped.jar" "config.properties" +for f in "piped.jar" "config.properties" "VERSION" do echo " $(readlink -f "$f")" done