Skip to content

Commit

Permalink
Release #141 (#147)
Browse files Browse the repository at this point in the history
* Bump xevents and logger

* Prepare xevents for version v0.4.0

* Prepare logger for version v0.7.0

* Prepare camunda for version v2.0.5

* Prepare otel for version v0.1.5

* Prepare middleware for version v0.3.5

* update manual

* change someting to trigger drone build
  • Loading branch information
ulich authored Aug 16, 2022
1 parent a3b0060 commit e421896
Show file tree
Hide file tree
Showing 6 changed files with 23 additions and 33 deletions.
30 changes: 10 additions & 20 deletions RELEASING.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,13 @@ release using this tool for this repository.

## Start a release

First, decide which module sets will have their versions changed and what those
versions will be.
1. Find out which modules were changed since the last release.
2. Decide the new version of each of those modules, following semantic versioning
3. Look at the dependency graph from the [README](./README.md) and also bump the bugfix version part of all the modules that depend on the previously identified modules

For example, if you created a new feature in `x/events` and in `logger`, you would increase the
minor version of those 2 modules and also increase the bugfix versions of
`otel`, `camunda` and `middleware` as those 3 are depending on the other 2.

### Create a release branch

Expand All @@ -23,6 +28,8 @@ Set the version for all the module sets you have identified to be released.
make prerelease MODSET=<module set>
```

where `<module set>` is something like `logger` or `xevents` for example.

This will use `multimod` to upgrade the module's versions and create a new
"prerelease" branch for the changes. Verify the changes that were made.

Expand All @@ -37,23 +44,6 @@ it into your release branch.
git merge prerelease_<module set>_<version>
```

### Update the CHANGELOG.md

Update the [Changelog](./CHANGELOG.md). Make sure only changes relevant to this
release are included and the changes are communicated in language that
non-contributors to the project can understand.

Double check there is no change missing by looking directly at the commits
since the last release tag.

```sh
git --no-pager log --pretty=oneline "<last tag>..HEAD"
```

Be sure to update all the appropriate links at the bottom of the file.

Finally, commit this change to your release branch.

### Make a Pull Request

Push your release branch and create a pull request for the changes. Be sure to
Expand Down Expand Up @@ -95,4 +85,4 @@ Finally create a Release on GitHub. If you are releasing multiple versions for
different module sets, be sure to use the stable release tag but be sure to
include each version in the release title (i.e. `Release v1.0.0/v0.25.0`). The
release body should include all the curated changes from the Changelog for this
release.
release.
2 changes: 1 addition & 1 deletion camunda/v2/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ replace (
)

require (
github.com/blacklane/go-libs/logger v0.6.5
github.com/blacklane/go-libs/logger v0.7.0
github.com/google/uuid v1.3.0
github.com/stretchr/testify v1.7.1
)
Expand Down
2 changes: 1 addition & 1 deletion logger/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ replace (

require (
github.com/blacklane/go-libs/tracking v0.3.1
github.com/blacklane/go-libs/x/events v0.3.0
github.com/blacklane/go-libs/x/events v0.4.0
github.com/google/go-cmp v0.5.7
github.com/rs/zerolog v1.26.0
github.com/stretchr/testify v1.7.1
Expand Down
8 changes: 4 additions & 4 deletions middleware/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,11 @@ replace (
)

require (
github.com/blacklane/go-libs/camunda/v2 v2.0.4
github.com/blacklane/go-libs/logger v0.6.5
github.com/blacklane/go-libs/otel v0.1.4
github.com/blacklane/go-libs/camunda/v2 v2.0.5
github.com/blacklane/go-libs/logger v0.7.0
github.com/blacklane/go-libs/otel v0.1.5
github.com/blacklane/go-libs/tracking v0.3.1
github.com/blacklane/go-libs/x/events v0.3.0
github.com/blacklane/go-libs/x/events v0.4.0
github.com/google/go-cmp v0.5.7
github.com/google/uuid v1.3.0
github.com/stretchr/testify v1.7.1
Expand Down
4 changes: 2 additions & 2 deletions otel/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ replace (
)

require (
github.com/blacklane/go-libs/logger v0.6.5
github.com/blacklane/go-libs/logger v0.7.0
github.com/blacklane/go-libs/tracking v0.3.1
github.com/blacklane/go-libs/x/events v0.3.0
github.com/blacklane/go-libs/x/events v0.4.0
github.com/rs/zerolog v1.26.0
go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp v0.32.0
go.opentelemetry.io/otel v1.7.0
Expand Down
10 changes: 5 additions & 5 deletions versions.yaml
Original file line number Diff line number Diff line change
@@ -1,18 +1,18 @@
module-sets:
camunda:
version: v2.0.4
version: v2.0.5
modules:
- github.com/blacklane/go-libs/camunda/v2
logger:
version: v0.6.5
version: v0.7.0
modules:
- github.com/blacklane/go-libs/logger
middleware:
version: v0.3.4
version: v0.3.5
modules:
- github.com/blacklane/go-libs/middleware
otel:
version: v0.1.4
version: v0.1.5
modules:
- github.com/blacklane/go-libs/otel
probes:
Expand All @@ -24,7 +24,7 @@ module-sets:
modules:
- github.com/blacklane/go-libs/tracking
xevents:
version: v0.3.0
version: v0.4.0
modules:
- github.com/blacklane/go-libs/x/events
excluded-modules:
Expand Down

0 comments on commit e421896

Please sign in to comment.