Skip to content

Commit fb29412

Browse files
Prometheus2677FPiety0521
authored and
FPiety0521
committed
Fix command for installing with Go toolchain (versioned)
Thanks pointing out the issue @JKKGBE !
1 parent 1d4e6d7 commit fb29412

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/migrate/README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ $ apt-get install -y migrate
4141
$ go get -u -d github.com/golang-migrate/migrate/cmd/migrate
4242
$ cd $GOPATH/src/github.com/golang-migrate/migrate/cmd/migrate
4343
$ git checkout $TAG # e.g. v4.1.0
44-
$ go build -tags 'postgres' -ldflags="-X main.Version=$(git describe --tags)" -o $GOPATH/bin/migrate github.com/golang-migrate/migrate/cmd/migrate
44+
$ go build -tags 'postgres' -ldflags="-X main.Version=$(git describe --tags)" -o $GOPATH/bin/migrate $GOPATH/src/github.com/golang-migrate/migrate/cmd/migrate
4545
```
4646

4747
#### Unversioned

0 commit comments

Comments
 (0)