Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added long version to version command #831

Merged
merged 2 commits into from
Jun 23, 2023
Merged

Added long version to version command #831

merged 2 commits into from
Jun 23, 2023

Conversation

sampocs
Copy link
Collaborator

@sampocs sampocs commented Jun 16, 2023

Closes: #XXX

Context and purpose of the change

version --long no longer displays package information important for debugging chain issues

Brief Changelog

Added --long option to version command

Testing

>>> strided version
version: v10.0.0-1-g6719a44b
commit: 6719a44bc2366f675a96d4df3c82a73ab475c314


>>> strided version --long
name: stride
server_name: strided
version: v10.0.0-1-g6719a44b
commit: 6719a44bc2366f675a96d4df3c82a73ab475c314
build_tags: netgo,ledger
go: go version go1.20.3 darwin/arm64
build_deps:
- cloud.google.com/go/compute/[email protected]
...
- sigs.k8s.io/[email protected]
cosmos_sdk_version: v0.47.3


>>> strided version --long -o json
{
    "name": "stride",
    "server_name": "strided",
    "version": "v10.0.0-1-g6719a44b",
    "commit": "6719a44bc2366f675a96d4df3c82a73ab475c314",
    "build_tags": "netgo,ledger",
    "go": "go version go1.20.3 darwin/arm64",
    "build_deps": [
        "cloud.google.com/[email protected]",
          ...
        "sigs.k8s.io/[email protected]"
    ],
    "cosmos_sdk_version": "v0.47.3"
}

Copy link
Contributor

@shellvish shellvish left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks great, worked like a charm locally!

@shellvish shellvish merged commit f61119e into main Jun 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants