Skip to content

Commit

Permalink
Release v0.8.0 (#325)
Browse files Browse the repository at this point in the history
* Add RELEASING.md
  • Loading branch information
pellared authored Jun 5, 2023
1 parent 1c88f37 commit 2bf4c80
Show file tree
Hide file tree
Showing 11 changed files with 68 additions and 39 deletions.
16 changes: 0 additions & 16 deletions .chloggen/crosslink-work.yaml

This file was deleted.

16 changes: 0 additions & 16 deletions .chloggen/pip.yaml

This file was deleted.

7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,13 @@

<!-- next version -->

## v0.8.0

### 💡 Enhancements 💡

- `crosslink`: Add work command generating go.work file. (#309)
- `dbotconf`: Add support for pip package ecosystem. (#307)

## v0.7.0

### 🛑 Breaking changes 🛑
Expand Down
54 changes: 54 additions & 0 deletions RELEASING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
# Release Process

## Pre-Release

1. Create a new release branch. I.e. `git checkout -b release-X.X.X main`.

1. Update the version in [`versions.yaml`](versions.yaml) and commit the change.

1. Run the pre-release steps which updates `go.mod` and `version.go` files
in modules for the new release.

```sh
make multimod-prerelease
```

1. Merge the branch created by `multimod` into your release branch.

1. Update `go.mod` and `go.sum` files.

```sh
make tidy
```

1. Update [CHANGELOG.md](CHANGELOG.md) with new the new release.

```sh
make chlog-update VERSION=<vX.X.X>
```

1. Push the changes and create a Pull Request on GitHub.

## Tag

Once the Pull Request with all the version changes has been approved
and merged it is time to tag the merged commit.

***IMPORTANT***: It is critical you use the crrect commit
that was pushed in the Pre-Release step!
Failure to do so will leave things in a broken state.

***IMPORTANT***:
[There is currently no way to remove an incorrectly tagged version of a Go module](https://github.com/golang/go/issues/34189).
It is critical you make sure the version you push upstream is correct.
[Failure to do so will lead to minor emergencies and tough to work around](https://github.com/open-telemetry/opentelemetry-go/issues/331).

```sh
make push-tags REMOTE=<upstream> COMMIT=<hash>
```

## Release

Create a Release for the new `<new tag>` on GitHub.
The release body should include all the release notes
for this release taken from [CHANGELOG.md](CHANGELOG.md).
2 changes: 1 addition & 1 deletion crosslink/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ require (
github.com/spf13/cobra v1.7.0
github.com/spf13/pflag v1.0.5
github.com/stretchr/testify v1.8.4
go.opentelemetry.io/build-tools v0.7.0
go.opentelemetry.io/build-tools v0.8.0
go.uber.org/zap v1.24.0
golang.org/x/mod v0.10.0
)
Expand Down
2 changes: 1 addition & 1 deletion dbotconf/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ go 1.19
require (
github.com/spf13/cobra v1.7.0
github.com/stretchr/testify v1.8.4
go.opentelemetry.io/build-tools v0.7.0
go.opentelemetry.io/build-tools v0.8.0
golang.org/x/mod v0.10.0
gopkg.in/yaml.v3 v3.0.1
)
Expand Down
2 changes: 1 addition & 1 deletion internal/tools/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ require (
github.com/yeya24/promlinter v0.2.0 // indirect
github.com/ykadowak/zerologlint v0.1.1 // indirect
gitlab.com/bosi/decorder v0.2.3 // indirect
go.opentelemetry.io/build-tools v0.7.0 // indirect
go.opentelemetry.io/build-tools v0.8.0 // indirect
go.tmz.dev/musttag v0.7.0 // indirect
go.uber.org/atomic v1.9.0 // indirect
go.uber.org/multierr v1.11.0 // indirect
Expand Down
2 changes: 1 addition & 1 deletion multimod/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ require (
github.com/spf13/cobra v1.7.0
github.com/spf13/viper v1.16.0
github.com/stretchr/testify v1.8.4
go.opentelemetry.io/build-tools v0.7.0
go.opentelemetry.io/build-tools v0.8.0
go.uber.org/multierr v1.11.0
golang.org/x/mod v0.10.0
)
Expand Down
2 changes: 1 addition & 1 deletion semconvgen/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ go 1.19

require (
github.com/spf13/pflag v1.0.5
go.opentelemetry.io/build-tools v0.7.0
go.opentelemetry.io/build-tools v0.8.0
golang.org/x/mod v0.10.0
golang.org/x/text v0.9.0
)
Expand Down
2 changes: 1 addition & 1 deletion semconvgen/go.sum
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c
github.com/pmezard/go-difflib v1.0.0 h1:4DBwDE0NGyQoBHbLQYPwSUPoCMWR5BEzIk/f1lZbAQM=
github.com/spf13/pflag v1.0.5 h1:iy+VFUOCP1a+8yFto/drg2CJ5u0yRoB7fZw3DKv/JXA=
github.com/spf13/pflag v1.0.5/go.mod h1:McXfInJRrz4CZXVZOBLb0bTZqETkiAhM9Iw0y3An2Bg=
github.com/stretchr/testify v1.8.3 h1:RP3t2pwF7cMEbC1dqtB6poj3niw/9gnV4Cjg5oW5gtY=
github.com/stretchr/testify v1.8.4 h1:CcVxjf3Q8PM0mHUKJCdn+eZZtm5yQwehR5yeSVQQcUk=
golang.org/x/mod v0.10.0 h1:lFO9qtOdlre5W1jxS3r/4szv2/6iXxScdzjoBMXNhYk=
golang.org/x/mod v0.10.0/go.mod h1:iBbtSCu2XBx23ZKBPSOrRkjjQPZFPuis4dIYUhu/chs=
golang.org/x/text v0.9.0 h1:2sjJmO8cDvYveuX97RDLsxlyUxLl+GHoLxBiRdHllBE=
Expand Down
2 changes: 1 addition & 1 deletion versions.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@

module-sets:
tools:
version: v0.7.0
version: v0.8.0
modules:
- go.opentelemetry.io/build-tools
- go.opentelemetry.io/build-tools/checkdoc
Expand Down

0 comments on commit 2bf4c80

Please sign in to comment.