{"action":"opened","issue":{"url":"https://api.github.com/repos/kzu/GitInfo/issues/13","repository_url":"https://api.github.com/repos/kzu/GitInfo","labels_url":"https://api.github.com/repos/kzu/GitInfo/issues/13/labels{/name}","comments_url":"https://api.github.com/repos/kzu/GitInfo/issues/13/comments","events_url":"https://api.github.com/repos/kzu/GitInfo/issues/13/events","html_url":"https://github.com/kzu/GitInfo/issues/13","id":177856305,"number":13,"title":"Error when the path to file GitInfo.txt contains spaces","user":{"login":"timrousselet","id":2026653,"avatar_url":"https://avatars.githubusercontent.com/u/2026653?v=3","gravatar_id":"","url":"https://api.github.com/users/timrousselet","html_url":"https://github.com/timrousselet","followers_url":"https://api.github.com/users/timrousselet/followers","following_url":"https://api.github.com/users/timrousselet/following{/other_user}","gists_url":"https://api.github.com/users/timrousselet/gists{/gist_id}","starred_url":"https://api.github.com/users/timrousselet/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/timrousselet/subscriptions","organizations_url":"https://api.github.com/users/timrousselet/orgs","repos_url":"https://api.github.com/users/timrousselet/repos","events_url":"https://api.github.com/users/timrousselet/events{/privacy}","received_events_url":"https://api.github.com/users/timrousselet/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-09-19T18:10:53Z","updated_at":"2016-09-19T18:10:53Z","closed_at":null,"body":"Missing quotes in GitInfo.targets line 370.\r\n$(GitExe) rev-list --count \"$(_GitLastBump)\"..HEAD $([System.IO.Path]::GetDirectoryName(\"$(GitVersionFile)\")) \r\nshould be\r\n$(GitExe) rev-list --count \"$(_GitLastBump)\"..HEAD **\"**$([System.IO.Path]::GetDirectoryName(\"$(GitVersionFile)\"))**\"**\r\n\r\nCaused this error:\r\nC:\\Program Files (x86)\\Jenkins\\workspace\\develop\\packages\\GitInfo.1.1.31\\build\\GitInfo.targets(370,3): warning MSB3073: The command \"\"C:\\Program Files\\Git\\bin\\git.exe\" rev-list --count \"65923a7\"..HEAD C:\\Program Files (x86)\\Jenkins\\workspace\\develop\" exited with code 128. [C:\\Program Files (x86)\\Jenkins\\workspace\\develop\\project.csproj]\r\n  The previous error was converted to a warning because the task was called with ContinueOnError=true.\r\n  Build continuing because \"ContinueOnError\" on the task \"Exec\" is set to \"true\".\r\nC:\\Program Files (x86)\\Jenkins\\workspace\\develop\\packages\\GitInfo.1.1.31\\build\\GitInfo.targets(586,4): error MSB4186: Invalid static method invocation syntax: \"[MSBuild]::Add('$(GitBaseVersionPatch)', '$(GitCommits)')\". Input string was not in a correct format. Static method invocation should be of the form: $([FullTypeName]::Method()), e.g. $([System.IO.Path]::Combine(`a`, `b`)).  [C:\\Program Files (x86)\\Jenkins\\workspace\\develop\\project.csproj]\r\n\r\nIt worked after adding the quotes manually -.-"}}
{"actor":{"display_login":"timrousselet"}}