Fixed final release doc for v0.9.0

Этот коммит содержится в:
Fredrik Lönnblad 2020-03-22 18:08:17 +01:00
родитель f8287cd48c
коммит ec88ee5226
4 изменённых файлов: 8 добавлений и 8 удалений

Просмотреть файл

@ -77,13 +77,13 @@ themselves from costly regressions.
## Install ## Install
``` ```
go get github.com/cucumber/godog/cmd/godog@v0.9.0-rc2 go get github.com/cucumber/godog/cmd/godog@v0.9.0
``` ```
Adding `@v0.9.0-rc2` will install v0.9.0-rc2 specifically instead of master. Adding `@v0.9.0` will install v0.9.0 specifically instead of master.
Running `within the $GOPATH`, you would also need to set `GO111MODULE=on`, like this: Running `within the $GOPATH`, you would also need to set `GO111MODULE=on`, like this:
``` ```
GO111MODULE=on go get github.com/cucumber/godog/cmd/godog@v0.9.0-rc2 GO111MODULE=on go get github.com/cucumber/godog/cmd/godog@v0.9.0
``` ```
## Example ## Example

Просмотреть файл

@ -20,6 +20,6 @@ Feature: get version
And the response should match json: And the response should match json:
""" """
{ {
"version": "v0.9.0-rc2" "version": "v0.9.0"
} }
""" """

Просмотреть файл

@ -39,4 +39,4 @@ Godog was inspired by Behat and Cucumber the above description is taken from it'
package godog package godog
// Version of package - based on Semantic Versioning 2.0.0 http://semver.org/ // Version of package - based on Semantic Versioning 2.0.0 http://semver.org/
const Version = "v0.9.0-rc2" const Version = "v0.9.0"

Просмотреть файл

@ -1,4 +1,4 @@
I am excited to announce the release of godog v0.9.0-rc2. I am excited to announce the release of godog v0.9.0.
Here follows a summary of Notable Changes, the Non Backward Compatible Changes and Deprecation Notices. Here follows a summary of Notable Changes, the Non Backward Compatible Changes and Deprecation Notices.
The full change log is available [here](https://github.com/cucumber/godog/blob/master/CHANGELOG.md). The full change log is available [here](https://github.com/cucumber/godog/blob/master/CHANGELOG.md).
@ -18,9 +18,9 @@ Non Backward Compatible Changes
With the change of dependencies for godog, which relies on `go modules`, installing godog now requires go modules to be active. With the change of dependencies for godog, which relies on `go modules`, installing godog now requires go modules to be active.
If you are running `within the $GOPATH`, you would need to install godog like this: If you are running `within the $GOPATH`, you would need to install godog like this:
`GO111MODULE=on go get github.com/cucumber/godog/cmd/godog@v0.9.0-rc2` `GO111MODULE=on go get github.com/cucumber/godog/cmd/godog@v0.9.0`
- Adding `GO111MODULE=on` will allow go get and go mod to work together as intended. - Adding `GO111MODULE=on` will allow go get and go mod to work together as intended.
- Adding `@v0.9.0-rc2` will install v0.9.0-rc2 specifically instead of master. - Adding `@v0.9.0` will install v0.9.0 specifically instead of master.
If you are running `outside of the $GOPATH`, you should still specify a version. If you are running `outside of the $GOPATH`, you should still specify a version.