Skip to content

Commit

Permalink
Silence curl downloads
Browse files Browse the repository at this point in the history
Co-authored-by: Kai Lüke <[email protected]>
  • Loading branch information
joonas and pothos authored Apr 10, 2024
1 parent ec7a7ef commit 9df90cb
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions create_wasmcloud_sysext.sh
Original file line number Diff line number Diff line change
Expand Up @@ -35,13 +35,13 @@ rm -rf "${SYSEXTNAME}"
mkdir -p "${SYSEXTNAME}"/usr/bin

VERSION="v${VERSION#v}"
curl -o "${SYSEXTNAME}"/usr/bin/wasmcloud -fvSL "https://github.com/wasmcloud/wasmcloud/releases/download/${VERSION}/wasmcloud-${ARCH}-unknown-linux-musl"
curl -o "${SYSEXTNAME}"/usr/bin/wasmcloud -fsSL "https://github.com/wasmcloud/wasmcloud/releases/download/${VERSION}/wasmcloud-${ARCH}-unknown-linux-musl"
chmod +x "${SYSEXTNAME}"/usr/bin/wasmcloud

# Install NATS
version="${NATS_VERSION}"
if [[ "${NATS_VERSION}" == "latest" ]]; then
version=$(curl -fvSL https://api.github.com/repos/nats-io/nats-server/releases/latest | jq -r .tag_name)
version=$(curl -fsSL https://api.github.com/repos/nats-io/nats-server/releases/latest | jq -r .tag_name)
echo "Using latest version: ${version} for NATS Server"
fi
version="v${version#v}"
Expand Down

0 comments on commit 9df90cb

Please sign in to comment.