Skip to content

Commit

Permalink
Update to comply with major release version 2
Browse files Browse the repository at this point in the history
  • Loading branch information
ikolesn committed Jul 7, 2023
1 parent 08bfd84 commit 13ab86f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 5 deletions.
2 changes: 2 additions & 0 deletions README.dev.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@
* Tag the release: `git tag -a v1.2.3 -m 'Tag v1.2.3'`.
* Push the tag: `git push origin v1.2.3`.
* Run `goreleaser`

NOTE: if a major version release is happening, it's necessary to update the `go.mod` file, as well as the import of internal packages according to the new major version (see more on [releasing modules v2 or higher](https://github.com/golang/go/wiki/Modules#releasing-modules-v2-or-higher))
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ archive. Inside is the `mm-geofeed-verifier` binary.
You need the Go compiler (Go 1.12+). You can get it at the [Go
website](https://golang.org).

The easiest way is via `go get`:
The easiest way is via `go install`:

$ go get -u github.com/maxmind/mm-geofeed-verifier
$ go install github.com/maxmind/mm-geofeed-verifier/v2@latest

The program will be installed to `$GOPATH/bin/mm-geofeed-verifier`.

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/maxmind/mm-geofeed-verifier
module github.com/maxmind/mm-geofeed-verifier/v2

go 1.18

Expand Down
2 changes: 1 addition & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ import (
"sort"
"strings"

"github.com/maxmind/mm-geofeed-verifier/verify"
"github.com/maxmind/mm-geofeed-verifier/v2/verify"
)

const version = "2.2.1"
Expand Down
2 changes: 1 addition & 1 deletion main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import (

"github.com/stretchr/testify/assert"

"github.com/maxmind/mm-geofeed-verifier/verify"
"github.com/maxmind/mm-geofeed-verifier/v2/verify"
)

type parseFlagsCorrectTest struct {
Expand Down

0 comments on commit 13ab86f

Please sign in to comment.