{"action":"created","issue":{"url":"https://api.github.com/repos/gogradle/gogradle/issues/97","repository_url":"https://api.github.com/repos/gogradle/gogradle","labels_url":"https://api.github.com/repos/gogradle/gogradle/issues/97/labels{/name}","comments_url":"https://api.github.com/repos/gogradle/gogradle/issues/97/comments","events_url":"https://api.github.com/repos/gogradle/gogradle/issues/97/events","html_url":"https://github.com/gogradle/gogradle/issues/97","id":229636207,"number":97,"title":"go build tags","user":{"login":"JackTiger","id":4962391,"avatar_url":"https://avatars2.githubusercontent.com/u/4962391?v=3","gravatar_id":"","url":"https://api.github.com/users/JackTiger","html_url":"https://github.com/JackTiger","followers_url":"https://api.github.com/users/JackTiger/followers","following_url":"https://api.github.com/users/JackTiger/following{/other_user}","gists_url":"https://api.github.com/users/JackTiger/gists{/gist_id}","starred_url":"https://api.github.com/users/JackTiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackTiger/subscriptions","organizations_url":"https://api.github.com/users/JackTiger/orgs","repos_url":"https://api.github.com/users/JackTiger/repos","events_url":"https://api.github.com/users/JackTiger/events{/privacy}","received_events_url":"https://api.github.com/users/JackTiger/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2017-05-18T11:19:09Z","updated_at":"2017-05-19T01:45:18Z","closed_at":null,"body":"`CGO_ENABLED=0 GOOS=linux go build -a -installsuffix cgo -ldflags \"-w -s\" -o bfs .`\r\n\r\n类似于这样的命令，我该如何添加"},"comment":{"url":"https://api.github.com/repos/gogradle/gogradle/issues/comments/302586625","html_url":"https://github.com/gogradle/gogradle/issues/97#issuecomment-302586625","issue_url":"https://api.github.com/repos/gogradle/gogradle/issues/97","id":302586625,"user":{"login":"JackTiger","id":4962391,"avatar_url":"https://avatars2.githubusercontent.com/u/4962391?v=3","gravatar_id":"","url":"https://api.github.com/users/JackTiger","html_url":"https://github.com/JackTiger","followers_url":"https://api.github.com/users/JackTiger/followers","following_url":"https://api.github.com/users/JackTiger/following{/other_user}","gists_url":"https://api.github.com/users/JackTiger/gists{/gist_id}","starred_url":"https://api.github.com/users/JackTiger/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JackTiger/subscriptions","organizations_url":"https://api.github.com/users/JackTiger/orgs","repos_url":"https://api.github.com/users/JackTiger/repos","events_url":"https://api.github.com/users/JackTiger/events{/privacy}","received_events_url":"https://api.github.com/users/JackTiger/received_events","type":"User","site_admin":false},"created_at":"2017-05-19T01:45:18Z","updated_at":"2017-05-19T01:45:18Z","body":"我发现一个问题，分支多了后，会导致：(重新编译就没有问题了，遇到好几次了)\r\n\r\n```\r\nCaused by: com.github.blindpirate.gogradle.core.exceptions.BuildException: Build failed due to exception of cmd: git pull --all --progress\r\nin: /root/.gradle/go/gopath/code.xxxxx.com/xxxxx/prototype\r\nwith env:\r\n PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/usr/local/go:/usr/local/go/bin:/home/golang/bin\r\nexception:com.github.blindpirate.gogradle.core.exceptions.BuildException: Build failed due to return code 1 of cmd: git pull --all --progress\r\nin: /root/.gradle/go/gopath/code.xxxxx.com/xxxxxx/prototype\r\nstderr: From code.xxxx.com:xxxxxxx/prototype\r\n * [new branch]      xxxxxx/soc -> origin/xxxxx/soc\r\n   2c6844d..417f771  develop    -> origin/develop\r\nerror: cannot lock ref 'refs/remotes/origin/xxxxxx/funcSend': 'refs/remotes/origin/xxxxx' exists; cannot create 'refs/remotes/origin/xxxxx/funcSend'\r\n ! [new branch]      xxxxx/funcSend -> origin/xxxxx/funcSend  (unable to update local ref)\r\n * [new tag]         v0.2.0     -> v0.2.0\r\nerror: some local refs could not be updated; try running\r\n 'git remote prune origin' to remove any old, conflicting branches\r\nerror: Could not fetch origin\r\n```"}}
{"actor":{"display_login":"JackTiger"}}