| Summary: | Git tag/release scripts need updating for Mac OSX | ||
|---|---|---|---|
| Product: | [Eclipse Project] e4 | Reporter: | DJ Houghton <dj.houghton> |
| Component: | UI | Assignee: | Project Inbox <e4.ui-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | aniefer, irbull, pwebster, remy.suen, tjwatson |
| Version: | unspecified | ||
| Target Milestone: | 0.12 M2 | ||
| Hardware: | PC | ||
| OS: | Mac OS X - Carbon (unsup.) | ||
| Whiteboard: | |||
I have updated the script to use an alternate date syntax on mac. |
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