diff options
| author | rejbasket <39080670+rejbasket@users.noreply.github.com> | 2025-05-20 17:53:43 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2025-05-20 17:53:43 +0200 |
| commit | e7b5f19b02512b7424954c868e7bacb93cdff9f2 (patch) | |
| tree | 16c67353d4b7f23b75e031d25ef9bb4258d69c34 /bin/generate-version-file | |
| parent | 75f02dc4b0d6b7d6276e8b425a1c1f32c6bfca29 (diff) | |
add linux arm build (#3740)
Diffstat (limited to 'bin/generate-version-file')
| -rwxr-xr-x | bin/generate-version-file | 7 |
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 |
