From 983adfa670d0a00cf4a16793941c41d39256c8fe Mon Sep 17 00:00:00 2001 From: VR-25 <28943176+VR-25@users.noreply.github.com> Date: Wed, 25 May 2022 06:40:04 +0100 Subject: [PATCH] Get version from changelog --- build.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build.sh b/build.sh index 15240db..e118b43 100755 --- a/build.sh +++ b/build.sh @@ -40,5 +40,6 @@ for i in $*; do echo done -sed -n 's/VERSION=.* //p' tarb.sh | tr -d \" > build/VERSION +ver="$(head -n1 CHANGELOG | tee build/VERSION)" +sed -i "/^VERSION=/s/=.*/=\"$ver\"/" tarb.sh exit