{"action":"opened","issue":{"url":"https://api.github.com/repos/mavlink/qgroundcontrol/issues/2955","repository_url":"https://api.github.com/repos/mavlink/qgroundcontrol","labels_url":"https://api.github.com/repos/mavlink/qgroundcontrol/issues/2955/labels{/name}","comments_url":"https://api.github.com/repos/mavlink/qgroundcontrol/issues/2955/comments","events_url":"https://api.github.com/repos/mavlink/qgroundcontrol/issues/2955/events","html_url":"https://github.com/mavlink/qgroundcontrol/issues/2955","id":138812439,"number":2955,"title":"travis-ci properly handle git version in PRs","user":{"login":"dagar","id":84712,"avatar_url":"https://avatars.githubusercontent.com/u/84712?v=3","gravatar_id":"","url":"https://api.github.com/users/dagar","html_url":"https://github.com/dagar","followers_url":"https://api.github.com/users/dagar/followers","following_url":"https://api.github.com/users/dagar/following{/other_user}","gists_url":"https://api.github.com/users/dagar/gists{/gist_id}","starred_url":"https://api.github.com/users/dagar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagar/subscriptions","organizations_url":"https://api.github.com/users/dagar/orgs","repos_url":"https://api.github.com/users/dagar/repos","events_url":"https://api.github.com/users/dagar/events{/privacy}","received_events_url":"https://api.github.com/users/dagar/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"dagar","id":84712,"avatar_url":"https://avatars.githubusercontent.com/u/84712?v=3","gravatar_id":"","url":"https://api.github.com/users/dagar","html_url":"https://github.com/dagar","followers_url":"https://api.github.com/users/dagar/followers","following_url":"https://api.github.com/users/dagar/following{/other_user}","gists_url":"https://api.github.com/users/dagar/gists{/gist_id}","starred_url":"https://api.github.com/users/dagar/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dagar/subscriptions","organizations_url":"https://api.github.com/users/dagar/orgs","repos_url":"https://api.github.com/users/dagar/repos","events_url":"https://api.github.com/users/dagar/events{/privacy}","received_events_url":"https://api.github.com/users/dagar/received_events","type":"User","site_admin":false},"milestone":null,"comments":0,"created_at":"2016-03-06T17:12:59Z","updated_at":"2016-03-06T17:12:59Z","closed_at":null,"body":"remove this confusing error\r\n\r\n    $ cd ${TRAVIS_BUILD_DIR} && ./tools/update_android_version.sh\r\n    fatal: ambiguous argument 'master': unknown revision or path not in the working tree.\r\n    Use '--' to separate paths from revisions, like this:\r\n    'git <command> [<revision>...] -- [<file>...]'\r\n    VersionCode: \r\n    VersionName: 2.9.4-106-g1388cf5\r\n    Error versionCode empty\r\n    The command \"cd ${TRAVIS_BUILD_DIR} && ./tools/update_android_version.sh\" exited with 1.\r\n\r\nhttps://travis-ci.org/mavlink/qgroundcontrol/jobs/114067041#L847"}}