You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
hi,
I just tested the new 1.18 BuildInfo addition (see https://go.dev/doc/go1.18#debug/buildinfo ) and was hoping to get ride if our build wrapper(makefile) and the ldflags trick to embed the git tag in the main binary.
But it seems this new feature doesn't know about git tags ? Have I missed something or is it by design ?
Thx
Sean Liao
unread,
Mar 16, 2022, 5:47:38 PM3/16/22
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to golang-nuts
thx for this link.
But it implies a specific usage of tags (interpreting them as a "version" / "pseudo version"). I was thinking about a more general approach, just embed tags. I added a comment to the github issue.
Then people can check for a tag in buildinfo and eventually use it as Version value for instance.
Le mercredi 16 mars 2022 à 22:47:38 UTC+1, se...@liao.dev a écrit :