Skip to content

Commit 0521ebe

Browse files
authored
Warn about installing the CLI from within a module
Addresses: #257
1 parent 99ca856 commit 0521ebe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cmd/migrate/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ $ go build -tags 'postgres' -ldflags="-X main.Version=$(git describe --tags)" -o
5050
$ go get -tags 'postgres' -u github.com/golang-migrate/migrate/cmd/migrate
5151
```
5252

53+
[Make sure](https://github.com/golang-migrate/migrate/pull/257#issuecomment-705249902) you're not installing the `migrate` CLI from a module. e.g. there should not be any `go.mod` files in your current directory or any directory from your current one to the root
54+
5355
#### Notes
5456

5557
1. Requires a version of Go that [supports modules](https://golang.org/cmd/go/#hdr-Preliminary_module_support). e.g. Go 1.11+

0 commit comments

Comments
 (0)