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

[CLI]: Build from source show no version #129

Open
jcubic opened this issue Dec 24, 2024 · 1 comment
Open

[CLI]: Build from source show no version #129

jcubic opened this issue Dec 24, 2024 · 1 comment
Labels
bug Something isn't working cli command line interface

Comments

@jcubic
Copy link
Contributor

jcubic commented Dec 24, 2024

Describe the bug

I did build with go, but when I use html2markdown --version I got:

$ ./html2markdown --version
html2markdown

GitVersion:  dev
GitCommit:   none
BuildDate:   unknown

How to get proper version?

HTML Input

N/A

Generated Markdown

N/A

Expected Markdown

N/A

Operating System

Linux

@jcubic jcubic added bug Something isn't working cli command line interface labels Dec 24, 2024
@JohannesKaufmann
Copy link
Owner

What exactly are you trying to do?

If you want to replicate exactly what GoReleaser does, it would probably be best to use it directly...

For example, from the goreleaser docs:

goreleaser build --single-target --snapshot --clean

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working cli command line interface
Projects
None yet
Development

No branches or pull requests

2 participants