Include version number in Linux build filenames

This commit is contained in:
Samuel Sloniker 2024-07-30 10:15:31 -07:00
parent 3f59791618
commit 65b5ffc2e0

View File

@ -1,7 +1,8 @@
#!/bin/sh #!/bin/sh
arch=$(uname -m) 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 rm -rf dist/$distName-bundle
mkdir -p dist/$distName-bundle mkdir -p dist/$distName-bundle