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

goreleaser: Fix ldflags after project structure #13

Merged
merged 1 commit into from
Mar 1, 2025

Conversation

stefanb
Copy link
Contributor

@stefanb stefanb commented Mar 1, 2025

👋 Hey, in 8e72672 the project was restructured, but the goreleaser config was not adjusted properly.

The recent https://github.com/OpenIoTHub/gateway-go/releases/tag/v0.3.5 binaries are missing the version information:

~/Downloads/gateway-go_0.3.5_darwin_arm64|⇒  ./gateway-go --version
gateway-go version
commit:
built at:
built by:

It was noticed in

where we're testing also the version output.

@IoTServ
Copy link
Member

IoTServ commented Mar 1, 2025

ok,I will fix that

In 8e72672 the project was restructured, but the goreleaser config was not adjusted properly.
@stefanb
Copy link
Contributor Author

stefanb commented Mar 1, 2025

Rebased.

@IoTServ IoTServ merged commit e747efd into OpenIoTHub:master Mar 1, 2025
@stefanb stefanb deleted the fix-ldflags branch March 1, 2025 17:12
@stefanb
Copy link
Contributor Author

stefanb commented Mar 1, 2025

Fixed in release https://github.com/OpenIoTHub/gateway-go/releases/tag/v0.3.15 :

~/Downloads/gateway-go_0.3.15_darwin_arm64|⇒  ./gateway-go --version
gateway-go version 0.3.15
commit: 54401c6e61974e58bc014995fcc2156e370a3cbc
built at: 2025-03-01T17:38:26Z
built by: goreleaser

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