Skip to content

Commit

Permalink
Relace steps with the refernece to contrib
Browse files Browse the repository at this point in the history
  • Loading branch information
XSAM committed May 9, 2024
1 parent 37c09da commit 52d3b7a
Showing 1 changed file with 1 addition and 26 deletions.
27 changes: 1 addition & 26 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,32 +31,7 @@ You can check/report problems with `gorelease` [here](https://golang.org/issues/

If the changes in the main repository are going to affect the contrib repository, it is important to verify that the changes are compatible with the contrib repository.

Follow the following steps in the local [contrib repository](https://github.com/open-telemetry/opentelemetry-go-contrib) to verify the changes.

1. Pick the GIT SHA on the [main branch](https://github.com/open-telemetry/opentelemetry-go/commits/main) that you want to verify.
2. Run the following command to update the OTel depencies with the GIT SHA picked in step 1.

```sh
export GITSHA=<the GIT SHA you want to verify>
make update-all-otel-deps
make go-mod-tidy
```

3. Verify the changes.

```
git diff
```

This should have changed the version for all OTel modules to be the GIT SHA picked in step 1.

4. Run the lint and tests to verify that the changes are compatible with the contrib repository.

```sh
make precommit
```

This command should be passed without any errors.
Follow [the steps](https://github.com/open-telemetry/opentelemetry-go-contrib/blob/main/RELEASING.md#verify-otel-changes) in the contrib repostory to verify OTel changes.

## Pre-Release

Expand Down

0 comments on commit 52d3b7a

Please sign in to comment.