Skip to content

Commit

Permalink
added version commit hash to go install in readme
Browse files Browse the repository at this point in the history
  • Loading branch information
ehearneRedHat committed May 23, 2024
1 parent 00b9b01 commit b08006e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
If you prefer to compile from source or are contributing to the project, you can install `kuadrantctl` using `go install` or `make install`. This method requires Golang 1.21 or newer.

```bash
go install github.com/kuadrant/kuadrantctl@latest
VERSION=$(git rev-parse --short=7 HEAD) go install -ldflags='-X "github.com/kuadrant/kuadrantctl/version.Version=dev - '$VERSION'"' 'github.com/kuadrant/kuadrantctl'
```

This command will compile `kuadrantctl` and install the binary executable in `$GOBIN` (defaulting to `$GOPATH/bin`).
Expand Down

0 comments on commit b08006e

Please sign in to comment.