Skip to content
This repository has been archived by the owner on Mar 6, 2024. It is now read-only.

Commit

Permalink
Don`t strip v prefix from version and add doc to rename binary after …
Browse files Browse the repository at this point in the history
…download (#282)
  • Loading branch information
Nico Schieder authored Mar 12, 2020
1 parent def9a6e commit ba9fb23
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .goreleaser.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
Expand Down
6 changes: 4 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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)*
Expand Down

0 comments on commit ba9fb23

Please sign in to comment.