Skip to content
This repository has been archived by the owner on Oct 29, 2020. It is now read-only.

Commit

Permalink
Merge pull request #70 from paultyng/jthurman/version
Browse files Browse the repository at this point in the history
Move version to it's own file
  • Loading branch information
Jonathan Thurman authored Nov 4, 2019
2 parents 518fc42 + ef6a05c commit 0ea3de1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ make test

### Releasing

When cutting a new release, remember to update the `Version` in [api/client.go](api/client.go) to match the new tag.
When cutting a new release, remember to update the `Version` in [api/version.go](api/version.go) to match the new tag.

## License
[Apache-2.0](LICENSE)
Expand Down
3 changes: 0 additions & 3 deletions api/client.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@ import (
resty "github.com/go-resty/resty/v2"
)

// Version of this library
const Version string = "4.5.0"

// Client represents the client state for the API.
type Client struct {
RestyClient *resty.Client
Expand Down
4 changes: 4 additions & 0 deletions api/version.go
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
package api

// Version of this library
const Version string = "4.6.0"

0 comments on commit 0ea3de1

Please sign in to comment.