28.01.2023 14:52, Laurent Cheylus пишет:
> Build and tests OK on amd64.
Thanks.
> Could you set the real build date with MODGO_LDFLAGS ?
>
> _BUILD_DATE = $$(date +%Y-%m-%d)
> MODGO_LDFLAGS = -X main.build=${_BUILD_DATE} \
> -X main.version=${V}
>
> With this modification, my build is OK :
>
> $ /usr/obj/ports/gitlab-cli-1.24.1/fake-amd64/usr/local/bin/glab version
> glab version 1.24.1 (2023-01-28)
I deliberately set it to a fixed string such that package contents don't
change between builds.
Do you encounter any issues?
No comments:
Post a Comment