Skip to content
This repository was archived by the owner on May 30, 2024. It is now read-only.

Conversation

noahingh
Copy link
Member

@noahingh noahingh commented Feb 5, 2022

We should build with -ldflags flag to link with the tag like below:

go build -ldflags "-X main.Version=v0.6.0" ./cmd/cli

@noahingh noahingh added enhancement New feature or request component: cli This issue or pull request is related to the features of CLI labels Feb 5, 2022
@noahingh noahingh added this to the v0.6 milestone Feb 5, 2022
@noahingh noahingh merged commit 2b05288 into main Feb 5, 2022
@noahingh noahingh deleted the cli-version branch February 5, 2022 07:39
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
component: cli This issue or pull request is related to the features of CLI enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant