You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I found helmsman and found it very interesting, so I started packaging it for openSUSE.
One thing I stumbled upon: The Makefile has ldflags that set the version to "${TAG}-${DATE}". However I noticed there are two different capitalizations:
Dear maintainers,
I found helmsman and found it very interesting, so I started packaging it for openSUSE.
One thing I stumbled upon: The
Makefile
hasldflags
that set the version to"${TAG}-${DATE}"
. However I noticed there are two different capitalizations:https://github.com/Praqma/helmsman/blob/master/Makefile#L64
vs.
https://github.com/Praqma/helmsman/blob/master/Makefile#L86
main.version
vs.main.Version
(with a capitalV
).However, no matter which one I use the version output is only containing the tag.
I checked the release tarball and this behaviour is consistent.
So, is this some peculiarity of go that it only shows parts of the
main.version
variable? Or is theldflags
call just broken in the Makefile?I found that the version is already set in two places, so it might just be that the ldflags are not needed, at all?
Thanks in advance!
Kind Regards,
Johannes
The text was updated successfully, but these errors were encountered: