diff options
author | James Mills <prologic@shortcircuit.net.au> | 2020-06-03 00:46:29 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-03 00:46:29 +1000 |
commit | 57c916530c7ce9b7ca7905bfc06d676d34dd2f76 (patch) | |
tree | 2a6ed8aa7f22988028b46c531442ca4fadd7c9ae /.github/scripts | |
parent | dc3f425a7d2992a8ea3df2c15622e032a37bf512 (diff) |
Fix reliability of kickstart/kickstart-static64 with checksums sometimes failing (#9165)
* Add tool to build the dist and static x864_64 artifacts
* Add support for overriding the URL for installing/updating from nightlies
* Refactor curl/wget usage into less places. Use curl -q and --output and -O options instead of redirecting stdout
* Update md5sum(s) of kickstart/kickstart-static64
Diffstat (limited to '.github/scripts')
-rwxr-xr-x | .github/scripts/build-artifacts.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/.github/scripts/build-artifacts.sh b/.github/scripts/build-artifacts.sh index e62d9304dc..f816d750ff 100755 --- a/.github/scripts/build-artifacts.sh +++ b/.github/scripts/build-artifacts.sh @@ -16,6 +16,7 @@ prepare_build() { progress "Preparing build" ( test -d artifacts || mkdir -p artifacts + echo "${VERSION}" > packaging/version ) >&2 } @@ -50,8 +51,8 @@ prepare_assets() { cp packaging/version artifacts/latest-version.txt cd artifacts || exit 1 - ln -s "${BASENAME}.tar.gz" netdata-latest.tar.gz - ln -s "${BASENAME}.gz.run" netdata-latest.gz.run + ln -f "${BASENAME}.tar.gz" netdata-latest.tar.gz + ln -f "${BASENAME}.gz.run" netdata-latest.gz.run sha256sum -b ./* > "sha256sums.txt" ) >&2 } |