Skip to content

Commit

Permalink
docs: Update download instructions in README
Browse files Browse the repository at this point in the history
  • Loading branch information
varungandhi-src committed Jul 10, 2024
1 parent 948c160 commit 19514c6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/workflows/release-template.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
Download the binary for your platform using:

<!-- Keep command below in sync with README.md -->
```bash
TAG=TAG_PLACEHOLDER \
ARCH="$(uname -m)" \
Expand Down
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,12 @@ You can download a
[release binary](https://github.com/sourcegraph/scip-ruby/releases)
and run it directly, similar to invoking Sorbet.
<!-- Keep command below in sync with release-template.md -->
```bash
curl -L "https://github.com/sourcegraph/scip-ruby/releases/latest/download/scip-ruby-x86_64-$(uname -s | tr '[:upper:]' '[:lower:]')" -o scip-ruby && chmod +x scip-ruby
ARCH="$(uname -m)" \
OS="$(uname -s | tr '[:upper:]' '[:lower:]')" \
bash -c 'curl -L "https://github.com/sourcegraph/scip-ruby/releases/latest/download/scip-ruby-$ARCH-$OS" -o scip-ruby' && \
chmod +x scip-ruby
# If using in CI with 'set -e', make sure to wrap the
# scip-ruby invocation in 'set +e' followed by 'set -e'
Expand Down

0 comments on commit 19514c6

Please sign in to comment.