-
Notifications
You must be signed in to change notification settings - Fork 17
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
GenerateLDFlags function doesn't work on OSX #90
Comments
Hm, we can probably generate the date from native golang libraries other than relying on GNU date. |
Already created a fix for it using GNU date: rappizs@e925304, but I agree that maybe some native go solution would be better. |
Yeah, like this: #91 |
Awesome, thanks for the quick fix @saschagrunert! |
Thanks @saschagrunert! |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
getBuildDateTime
helper function, which is called bymage.GenerateLDFlags
, doesn't work under OSX. Thedate
command is a little bit different on OSX than on Linux and doesn't support the-d
flag, therefore on OSX we get this error when trying to usemage.GenerateLDFlags
:date: illegal option -- d
The exact problem is here:
release-utils/mage/version.go
Line 62 in 1bf6b4c
The text was updated successfully, but these errors were encountered: