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

go-blueprint version string is empty on output instead of it printing the version #124

Closed
brotherthegrest opened this issue Nov 19, 2023 · 2 comments

Comments

@brotherthegrest
Copy link

when go-blueprint version is written the output is just Go Blueprint CLI version
instead of printing the proper output Go Blueprint CLI version 0.3.0

@N1kolaus
Copy link

I would say that this is an error in the .goreleaser.yml file. There, github.com/melkeydev/go-blueprint/cmd.GoBlueprintVersion={{.Version}} should be replaced with cmd.GoBlueprintVersion={{.Version}}.

@limesten
Copy link
Contributor

I believe the problem is that when you install with go install github.com/melkeydev/go-blueprint@latest

It will build from the source code rather than using the pre-built binary, and therefore the version variable won't be populated with the ldflag

Working on a fix for this one

@limesten limesten mentioned this issue Nov 22, 2023
2 tasks
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

No branches or pull requests

4 participants