Community
Participate
Working Groups
When I use the latest scripts to tag for the build, I get the following error: date: illegal option -- - usage: date [-jnu] [-d dst] [-r seconds] [-t west] [-v[+|-]val[ymwdHMS]] ... [-f fmt date | [[[mm]dd]HH]MM[[cc]yy][.ss]] [+format] It appears that my "date" command doesn't accept the --date arg. Andrew and I have looked into it more and these appear to work. We get the Unix format back from the "git log" command and then convert it. equinox:~/git/rt.equinox.p2$ git log -1 --format="%ct" 1313423013 equinox:~/git/rt.equinox.p2$ date -u -j -f "%s" "1313423013" "+%Y%m%d-%H%M" 20110815-1543 equinox:~/git/rt.equinox.p2$ uname -s Darwin
I have updated the script to use an alternate date syntax on mac.