Closed SergiiShapoval closed 4 years ago
To import v2 you would need to import github.com/go-semantic-release/semantic-release/v2
(like here: https://github.com/go-semantic-release/provider-github/blob/master/pkg/provider/github.go#L12)
hm, yep mistyped, thank you for help
the current repo can be used in golang projects with import through go.mod (see https://github.com/golang/go/wiki/Modules#how-can-i-track-tool-dependencies-for-a-module)
but if we import the V2 version we receive the next error from go:
It can be fixed following https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher
will be great to be able to use this repo in golang projects without installing binaries