summaryrefslogtreecommitdiffstats
path: root/.github/scripts
diff options
context:
space:
mode:
authorAustin S. Hemmelgarn <austin@netdata.cloud>2021-10-27 07:54:30 -0400
committerGitHub <noreply@github.com>2021-10-27 07:54:30 -0400
commit0eb31a01c62baceb33ce6ff48c8abcedf4d45450 (patch)
treee52df097221568341a1663823934532853eb1bd8 /.github/scripts
parent9ed4cea59042aa5e5053c4b4b3529e9d70ab83f9 (diff)
Fix handling of artifacts for nightlies and release builds. (#11725)
* Fix hnadling of static build artifacts for release builds. * Fix overall artifact handling for release build. * Fix typo
Diffstat (limited to '.github/scripts')
-rwxr-xr-x.github/scripts/build-static.sh6
1 files changed, 4 insertions, 2 deletions
diff --git a/.github/scripts/build-static.sh b/.github/scripts/build-static.sh
index b79c0bb31d..e810514388 100755
--- a/.github/scripts/build-static.sh
+++ b/.github/scripts/build-static.sh
@@ -32,8 +32,10 @@ prepare_assets() {
cp packaging/version artifacts/latest-version.txt
cd artifacts || exit 1
- ln -s "${BASENAME}.gz.run" netdata-latest.gz.run
- sha256sum -b ./* > "sha256sums.txt"
+ ln -s "${BASENAME}.gz.run" "netdata-${BUILDARCH}-latest.gz.run"
+ if [ "${BUILDARCH}" = "x86_64" ]; then
+ ln -s "${BASENAME}.gz.run" netdata-latest.gz.run
+ fi
) >&2
}