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
The quick workaround is to install the GNU based date on Mac, brew install coreutils, and then link your date to point to gdate. It is not documented at the moment and I would suggest to use a build process that doesn't require to change system level programs.
The text was updated successfully, but these errors were encountered:
mage build
returns an error related to the OSXdate
:date: illegal option -- d
The bug was introduced here e23ad22, and the problem is related to the
mage.GenerateLDFlags
(https://github.com/kubernetes-sigs/release-utils/blob/1bf6b4c5d954/mage/version.go#L73) function. This func runs thedate
command but this works differently on Linux and on OSX (Unix).For more info please take a look on this topic: https://stackoverflow.com/questions/9804966/date-command-does-not-follow-linux-specifications-mac-os-x-lion
The quick workaround is to install the GNU based date on Mac,
brew install coreutils
, and then link yourdate
to point togdate
. It is not documented at the moment and I would suggest to use a build process that doesn't require to change system level programs.The text was updated successfully, but these errors were encountered: