summaryrefslogtreecommitdiff
path: root/bin/generate-version-file
diff options
context:
space:
mode:
authorrejbasket <39080670+rejbasket@users.noreply.github.com>2025-05-20 17:53:43 +0200
committerGitHub <noreply@github.com>2025-05-20 17:53:43 +0200
commite7b5f19b02512b7424954c868e7bacb93cdff9f2 (patch)
tree16c67353d4b7f23b75e031d25ef9bb4258d69c34 /bin/generate-version-file
parent75f02dc4b0d6b7d6276e8b425a1c1f32c6bfca29 (diff)
add linux arm build (#3740)
Diffstat (limited to 'bin/generate-version-file')
-rwxr-xr-xbin/generate-version-file7
1 files changed, 6 insertions, 1 deletions
diff --git a/bin/generate-version-file b/bin/generate-version-file
index df3d8459..023fa7b9 100755
--- a/bin/generate-version-file
+++ b/bin/generate-version-file
@@ -2,9 +2,14 @@
VERSION="${GITHUB_REF##*/}"
OS="${BUILD:-$(uname)}"
+ARCH="$(uname -m)"
DATE=$(date +"%Y-%m-%d %H:%M")
if [[ "$VERSION" == "" ]]; then
VERSION="Manual Install"
fi
-echo "${VERSION} (${OS}) ${DATE}" > VERSION
+if [[ "$BUILD" = "linux32" ]]; then
+ echo "${VERSION} (${OS}-i386) ${DATE}" > VERSION
+else
+ echo "${VERSION} (${OS}-${ARCH}) ${DATE}" > VERSION
+fi \ No newline at end of file