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

Add versioning #44

Merged
merged 8 commits into from
Sep 13, 2024
Merged

Add versioning #44

merged 8 commits into from
Sep 13, 2024

Conversation

NicFragale
Copy link
Contributor

Add the option to output a version

@NicFragale
Copy link
Contributor Author

Addresses #43 (comment)

)

var rootCmd = &cobra.Command{
Use: fmt.Sprintf("%s %s <remoteUsername>@<targetIdentity>", ExpectedServiceAndExeName, flags.ServiceName),
Short: "Z(iti)ssh, Carb-loaded ssh performs faster and stronger than ssh",
Long: "Z(iti)ssh is a version of ssh that utilizes a ziti network to provide a faster and more secure remote connection. A ziti connection must be established before use",
Version: fmt.Sprintf("%s (commit: %s, built: %s)", version, commit, date),
Copy link
Member

Choose a reason for hiding this comment

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

can you update zscp, too, please? i'm not a fan of all the additional output for the commit hash and date. i'd rather just see the version number.

Can you make the output look like:

1.0.9B (built:2024-09-13T19:26:54Z)

or with the hash use the short hash:

1.0.9B (built:2024-09-13T19:26:54Z hash:e9df4770)

Copy link
Member

Choose a reason for hiding this comment

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

i see you did zscp too - thx

Copy link
Contributor Author

Choose a reason for hiding this comment

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

image

zssh/zssh/zssh Outdated Show resolved Hide resolved
@dovholuknf dovholuknf merged commit 1eb0fb6 into openziti-test-kitchen:main Sep 13, 2024
3 checks passed
@dovholuknf
Copy link
Member

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants