From 65b5ffc2e0714fc5f6d62e018cf1b091b248c6c6 Mon Sep 17 00:00:00 2001 From: Samuel Sloniker Date: Tue, 30 Jul 2024 10:15:31 -0700 Subject: [PATCH] Include version number in Linux build filenames --- build-linux.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/build-linux.sh b/build-linux.sh index e72458b..82bbf55 100755 --- a/build-linux.sh +++ b/build-linux.sh @@ -1,7 +1,8 @@ #!/bin/sh arch=$(uname -m) -distName=navpoint-linux-$arch +version=$(head -n 1 README.md | awk '{print $4}') +distName=navpoint-$version-linux-$arch rm -rf dist/$distName-bundle mkdir -p dist/$distName-bundle