{"action":"created","issue":{"url":"https://api.github.com/repos/sweetalert2/sweetalert2/issues/875","repository_url":"https://api.github.com/repos/sweetalert2/sweetalert2","labels_url":"https://api.github.com/repos/sweetalert2/sweetalert2/issues/875/labels{/name}","comments_url":"https://api.github.com/repos/sweetalert2/sweetalert2/issues/875/comments","events_url":"https://api.github.com/repos/sweetalert2/sweetalert2/issues/875/events","html_url":"https://github.com/sweetalert2/sweetalert2/pull/875","id":293649566,"number":875,"title":"fix(release): reset dist to the state of origin/dist","user":{"login":"limonte","id":6059356,"avatar_url":"https://avatars2.githubusercontent.com/u/6059356?v=4","gravatar_id":"","url":"https://api.github.com/users/limonte","html_url":"https://github.com/limonte","followers_url":"https://api.github.com/users/limonte/followers","following_url":"https://api.github.com/users/limonte/following{/other_user}","gists_url":"https://api.github.com/users/limonte/gists{/gist_id}","starred_url":"https://api.github.com/users/limonte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/limonte/subscriptions","organizations_url":"https://api.github.com/users/limonte/orgs","repos_url":"https://api.github.com/users/limonte/repos","events_url":"https://api.github.com/users/limonte/events{/privacy}","received_events_url":"https://api.github.com/users/limonte/received_events","type":"User","site_admin":false},"labels":[{"id":588866924,"url":"https://api.github.com/repos/sweetalert2/sweetalert2/labels/build%20&%20workflow","name":"build & workflow","color":"5319e7","default":false}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-01T19:12:49Z","updated_at":"2018-02-02T22:07:00Z","closed_at":null,"author_association":"OWNER","pull_request":{"url":"https://api.github.com/repos/sweetalert2/sweetalert2/pulls/875","html_url":"https://github.com/sweetalert2/sweetalert2/pull/875","diff_url":"https://github.com/sweetalert2/sweetalert2/pull/875.diff","patch_url":"https://github.com/sweetalert2/sweetalert2/pull/875.patch"},"body":"Connected to https://github.com/sweetalert2/sweetalert2/issues/820\r\n\r\n@zenflow you published the release yesterday.  I tried to release today but it wasn't successful because of\r\n\r\n```\r\nPushing to Github...\r\n    (pid:7032)\t[cmd]\tgit push origin dist:dist --tags\r\n    (pid:7032)\t[ERR]\tTo github.com:sweetalert2/sweetalert2.git\r\n    (pid:7032)\t[ERR]\t * [new tag]         v7.8.7 -> v7.8.7\r\n    (pid:7032)\t[ERR]\terror: failed to push some refs to 'git@github.com:sweetalert2/sweetalert2.git'\r\n    (pid:7032)\t[ERR]\thint: Updates were rejected because the tip of your current branch is behind\r\n    (pid:7032)\t[ERR]\thint: its remote counterpart. Integrate the remote changes (e.g.\r\n    (pid:7032)\t[ERR]\thint: 'git pull ...') before pushing again.\r\n    (pid:7032)\t[ERR]\thint: See the 'Note about fast-forwards' in 'git push --help' for details.\r\n```"},"comment":{"url":"https://api.github.com/repos/sweetalert2/sweetalert2/issues/comments/362721672","html_url":"https://github.com/sweetalert2/sweetalert2/pull/875#issuecomment-362721672","issue_url":"https://api.github.com/repos/sweetalert2/sweetalert2/issues/875","id":362721672,"user":{"login":"zenflow","id":3198597,"avatar_url":"https://avatars1.githubusercontent.com/u/3198597?v=4","gravatar_id":"","url":"https://api.github.com/users/zenflow","html_url":"https://github.com/zenflow","followers_url":"https://api.github.com/users/zenflow/followers","following_url":"https://api.github.com/users/zenflow/following{/other_user}","gists_url":"https://api.github.com/users/zenflow/gists{/gist_id}","starred_url":"https://api.github.com/users/zenflow/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zenflow/subscriptions","organizations_url":"https://api.github.com/users/zenflow/orgs","repos_url":"https://api.github.com/users/zenflow/repos","events_url":"https://api.github.com/users/zenflow/events{/privacy}","received_events_url":"https://api.github.com/users/zenflow/received_events","type":"User","site_admin":false},"created_at":"2018-02-02T22:07:00Z","updated_at":"2018-02-02T22:07:00Z","author_association":"COLLABORATOR","body":"Yeah, I agree we should have something to make sure that the local `dist` branch is up-to-date with `dist` on `origin`. \r\n\r\nSame goes for `master` now since the changes of #881, but I think in that case maybe it should error if the local branch is not up-to-date, and make you think about what you're doing since you might have made a mistake."}}
{"actor":{"display_login":"zenflow"}}