Skip to content

Commit

Permalink
Merge pull request #358 from tsenart/go-mod-compatibility
Browse files Browse the repository at this point in the history
Make git tag naming scheme compatible with `go mod`
  • Loading branch information
tsenart authored Nov 21, 2018
2 parents 9c78428 + 8170d36 commit d8ea552
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ After [v8.0.0](https://github.com/tsenart/vegeta/tree/v8.0.0), the two component
are versioned separately to better isolate breaking changes to each.

CLI releases are tagged with `cli/vMAJOR.MINOR.PATCH` and published on the [Github releases page](https://github.com/tsenart/vegeta/releases).
As for the library, new versions are tagged with `lib/vMAJOR.MINOR.PATCH` but not published as a release.
As for the library, new versions are tagged with both `lib/vMAJOR.MINOR.PATCH` and `vMAJOR.MINOR.PATCH`.
The latter tag is required for compatibility with `go mod`.

## Contributing
See [CONTRIBUTING.md](.github/CONTRIBUTING.md).
Expand Down Expand Up @@ -519,6 +520,9 @@ The library versioning follows [SemVer v2.0.0](https://semver.org/spec/v2.0.0.ht
Since [lib/v9.0.0](https://github.com/tsenart/vegeta/tree/lib/v9.0.0), the library and cli
are versioned separately to better isolate breaking changes to each component.

See [Versioning](#Versioning) for more details on git tag naming schemes and compatibility
with `go mod`.

```go
package main

Expand Down

0 comments on commit d8ea552

Please sign in to comment.