Skip to content

Commit

Permalink
fix version naming convention to have 'v' prefix
Browse files Browse the repository at this point in the history
This change is needed to follow `vgo` guidelines
put forth by Go community.

https://github.com/golang/vgo/blob/master/vendor/cmd/go/internal/semver/semver.go#L6

> // semantic version strings must begin with a leading "v"

Supported format style

https://github.com/golang/vgo/blob/master/vendor/cmd/go/internal/semver/semver.go#L11

> //	vMAJOR[.MINOR[.PATCH[-PRERELEASE][+BUILD]]]

Fixes minio#985
  • Loading branch information
harshavardhana committed May 28, 2018
1 parent 6f8ee66 commit 178b4c5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api.go
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ type Options struct {
// Global constants.
const (
libraryName = "minio-go"
libraryVersion = "6.0.2"
libraryVersion = "v6.0.2"
)

// User Agent should always following the below style.
Expand Down

0 comments on commit 178b4c5

Please sign in to comment.