diff --git a/.goreleaser.yaml b/.goreleaser.yaml index 27842b054..4a27b0cac 100644 --- a/.goreleaser.yaml +++ b/.goreleaser.yaml @@ -21,7 +21,7 @@ builds: main: cmd/kubectl-kubecarrier/main.go ldflags: > -s -w - -X github.com/kubermatic/kubecarrier/pkg/internal/version.Version={{.Version}} + -X github.com/kubermatic/kubecarrier/pkg/internal/version.Version={{.Tag}} -X github.com/kubermatic/kubecarrier/pkg/internal/version.Branch={{.Tag}} -X github.com/kubermatic/kubecarrier/pkg/internal/version.Commit={{.ShortCommit}} -X github.com/kubermatic/kubecarrier/pkg/internal/version.BuildDate={{.Timestamp}} diff --git a/README.md b/README.md index 7fdeae785..8a79c6258 100644 --- a/README.md +++ b/README.md @@ -102,9 +102,11 @@ KubeCarrier is distributed via a public container registry [quay.io/kubecarrier] This CLI tool will gain more utility functions as the project matures. -#### Install the Kubectl plugin +#### Install the kubectl plugin -To install the kubectl plugin, just visit the KubeCarrier [release page](https://github.com/kubermatic/kubecarrier/releases), download the archive and put the contained `kubectl-kubecarrier` binary into your `$PATH`. Make sure the binary is executable. +To install the kubectl plugin, just visit the KubeCarrier [release page](https://github.com/kubermatic/kubecarrier/releases), download the archive and put the contained `kubecarrier` binary into your `$PATH` as `kubectl-kubecarrier`. + +Make sure the binary is executable. If everything worked, you should now be setup with the `kubecarrier` plugin: *(Your version should be way newer than this example)*