From 8db8e40790da81a0fc541c19df0a4db0bbe8cd55 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Mon, 3 Jun 2024 19:44:19 -0400 Subject: [PATCH] Revisit how we document the `install` script (#51) Signed-off-by: Juan Cruz Viotti --- README.markdown | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) diff --git a/README.markdown b/README.markdown index 25330b04..9b232c4a 100644 --- a/README.markdown +++ b/README.markdown @@ -52,12 +52,6 @@ Where `X.Y.Z` is replaced with the desired version. For example: - run: jsonschema fmt path/to/schemas --check ``` -### Using the install script helper - -```sh -/bin/sh -c "$(curl -fsSL https://raw.githubusercontent.com/intelligence-ai/jsonschema/main/install -H "Cache-Control: no-cache, no-store, must-revalidate")" -``` - ### From GitHub Releases We publish precompiled binaries for every supported platforms to [GitHub @@ -65,6 +59,13 @@ Releases](https://github.com/Intelligence-AI/jsonschema/releases), including a [continuous](https://github.com/Intelligence-AI/jsonschema/releases/tag/continuous) that is updated on every commit from the main branch. +For convenience, we also provide a POSIX shell script capable of installing the +latest pre-built binaries, which you can run as follows: + +```sh +/bin/sh -c "$(curl -fsSL https://raw.githubusercontent.com/intelligence-ai/jsonschema/main/install -H "Cache-Control: no-cache, no-store, must-revalidate")" +``` + ### Building from source ```sh