Skip to content

Commit 2a185a5

Browse files
authored
nit: correct doc (#1335)
1 parent 65413c2 commit 2a185a5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

DEVELOPMENT.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,10 +82,9 @@ We adhere to the [general Sourcegraph principles for testing](https://docs.sourc
8282
5. Make the necessary updates to the main Sourcegraph repo:
8383
1. Update the `MinimumVersion` constant in the [src-cli package](https://github.com/sourcegraph/sourcegraph/tree/main/internal/src-cli/consts.go).
8484
2. Update the `SRC_CLI_VERSION` in [tool_deps.bzl](https://sourcegraph.sourcegraph.com/github.com/sourcegraph/sourcegraph@f88ee515885e1761f002f8adcc73560bcb2573ee/-/blob/dev/tool_deps.bzl?L6)
85-
3. Update the sha256 hashes for the three `src-cli-*` targets in [tool_deps.bzl](https://sourcegraph.sourcegraph.com/github.com/sourcegraph/sourcegraph@f88ee515885e1761f002f8adcc73560bcb2573ee/-/blob/dev/tool_deps.bzl?L113-133). The easiest way to do this is to run the following command after updating `SRC_CLI_VERSION`, and extract the correct checksums for each target from the error message:
85+
3. Update the sha256 hashes for the two `src-cli-*` targets in [tool_deps.bzl](https://sourcegraph.sourcegraph.com/github.com/sourcegraph/sourcegraph/-/blob/dev/tool_deps.bzl). The easiest way to do this is to run the following command after updating `SRC_CLI_VERSION`, and extract the correct checksums for each target from the error message:
8686
```shell
8787
$ bazel build @src-cli-linux-amd64//:src-cli-linux-amd64 \
88-
@src-cli-darwin-amd64//:src-cli-darwin-amd64 \
8988
@src-cli-darwin-arm64//:src-cli-darwin-arm64
9089
9190
ERROR: java.io.IOException: Error downloading [...]_linux-amd64.tar.gz [...] Checksum was <new linux-amd64 checksum>

0 commit comments

Comments
 (0)