aspnet / libuv-package

NuGet packages for libuv
Other
19 stars 14 forks source link

Don't attempt to write out commit file when not running on Windows #4

Closed pranavkm closed 8 years ago

pranavkm commented 8 years ago

Doesn't seem to work:

[17:28:21][create-commit-file] Exec
[17:28:21][create-commit-file]   program: git
[17:28:21][create-commit-file]   commandline: rev-parse HEAD >> /Users/asplab/buildAgent/work/169923259d6dcfec/Universe/libuv-package/artifacts/commit
[17:28:21][create-commit-file]   workingdir: 
[17:28:21][create-commit-file] fatal: ambiguous argument '>>': unknown revision or path not in the working tree.
[17:28:21][create-commit-file] Use '--' to separate paths from revisions, like this:
[17:28:21][create-commit-file] 'git <command> [<revision>...] -- [<file>...]'
[17:28:21][create-commit-file] e40b1af734bcd500decf76b160bce4fbd0193b2f
[17:28:21][create-commit-file] >>

Ran into this as part of coreclr build

pranavkm commented 8 years ago

cc @Eilon \ @halter73