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
make: date -uR produced a comma that was misinterpreted in go_$*_ldflags
Using set -x, I noticed that LDFLAGS= was being split on the commas:
+ LDFLAGS='-X version.Commit=6b3b365dbf4a3a907b6fd97d745efbd889afde0f -X version.BuildDate=Thu,'
+ 26 Sep 2024 14:34:51 '+0000 -X client.ClientID=k3TrDbfLhCgnpAbOiiT2kIE1AbovKzjo
To fix this, I've decided to print the date without spaces or special
chars.
Before, it looked like this:
Fri, 27 Sep 2024 10:15:10 +0000
Now, it looks like this:
2024-09-27-12:15:16-CEST
0 commit comments