{"action":"created","issue":{"url":"https://api.github.com/repos/semantic-release/commit-analyzer/issues/65","repository_url":"https://api.github.com/repos/semantic-release/commit-analyzer","labels_url":"https://api.github.com/repos/semantic-release/commit-analyzer/issues/65/labels{/name}","comments_url":"https://api.github.com/repos/semantic-release/commit-analyzer/issues/65/comments","events_url":"https://api.github.com/repos/semantic-release/commit-analyzer/issues/65/events","html_url":"https://github.com/semantic-release/commit-analyzer/issues/65","id":324129435,"node_id":"MDU6SXNzdWUzMjQxMjk0MzU=","number":65,"title":"Squash-merges","user":{"login":"jwalton","id":1771003,"node_id":"MDQ6VXNlcjE3NzEwMDM=","avatar_url":"https://avatars1.githubusercontent.com/u/1771003?v=4","gravatar_id":"","url":"https://api.github.com/users/jwalton","html_url":"https://github.com/jwalton","followers_url":"https://api.github.com/users/jwalton/followers","following_url":"https://api.github.com/users/jwalton/following{/other_user}","gists_url":"https://api.github.com/users/jwalton/gists{/gist_id}","starred_url":"https://api.github.com/users/jwalton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwalton/subscriptions","organizations_url":"https://api.github.com/users/jwalton/orgs","repos_url":"https://api.github.com/users/jwalton/repos","events_url":"https://api.github.com/users/jwalton/events{/privacy}","received_events_url":"https://api.github.com/users/jwalton/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":15,"created_at":"2018-05-17T18:08:48Z","updated_at":"2018-09-28T19:10:24Z","closed_at":"2018-05-20T19:25:24Z","author_association":"CONTRIBUTOR","body":"## Current behavior\r\n\r\n```\r\n[Semantic release]: Analyzing commit: Squashed commit of the following:\r\n\r\ncommit 74e6b0087331e5947fd8ba388e75d4d1900dfd44\r\nAuthor: Jason Walton <dev@lucid.thedreaming.org>\r\nDate:   Thu May 17 11:21:50 2018 -0400\r\n\r\n    fix: More fixes\r\n\r\ncommit b894885ae467975226e81080a35625d247796960\r\nAuthor: Jason Walton <dev@lucid.thedreaming.org>\r\nDate:   Thu May 17 11:13:25 2018 -0400\r\n\r\n    fix: Fix\r\n[Semantic release]: The commit should not trigger a release\r\n```\r\n\r\n## Expected behavior\r\n\r\nIf a commit starts with \"Squashed commit of the following:\", semantic-release should parse out all the individual commit messages and analyze them individually.  The above contains two \"fix\" commits, so it should trigger a patch release.\r\n\r\n(Moved here from https://github.com/semantic-release/semantic-release/issues/792)"},"comment":{"url":"https://api.github.com/repos/semantic-release/commit-analyzer/issues/comments/425537281","html_url":"https://github.com/semantic-release/commit-analyzer/issues/65#issuecomment-425537281","issue_url":"https://api.github.com/repos/semantic-release/commit-analyzer/issues/65","id":425537281,"node_id":"MDEyOklzc3VlQ29tbWVudDQyNTUzNzI4MQ==","user":{"login":"ersel","id":1476886,"node_id":"MDQ6VXNlcjE0NzY4ODY=","avatar_url":"https://avatars1.githubusercontent.com/u/1476886?v=4","gravatar_id":"","url":"https://api.github.com/users/ersel","html_url":"https://github.com/ersel","followers_url":"https://api.github.com/users/ersel/followers","following_url":"https://api.github.com/users/ersel/following{/other_user}","gists_url":"https://api.github.com/users/ersel/gists{/gist_id}","starred_url":"https://api.github.com/users/ersel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ersel/subscriptions","organizations_url":"https://api.github.com/users/ersel/orgs","repos_url":"https://api.github.com/users/ersel/repos","events_url":"https://api.github.com/users/ersel/events{/privacy}","received_events_url":"https://api.github.com/users/ersel/received_events","type":"User","site_admin":false},"created_at":"2018-09-28T19:10:24Z","updated_at":"2018-09-28T19:10:24Z","author_association":"NONE","body":"We use squash merge into master as well and this has resulted in a lot confusion around when semantic-release does trigger a release and when it doesn't.\r\n\r\nIn squash merge on GitHub, *only PR title is used* to calculate the release status so it _would be great to have a community plugin which extends the commit-analyzer behaviour._ \r\n\r\nI do understand @pvdlg 's concerns about the \"correctness\" of the proposed solution. However, I am in the same opinion as @jwalton that parsing squash messages would improve the UX for many users. Updating the squash message title so semantic-release is happy is suboptimal. We should not become the tool of our tools.\r\n\r\n@jwalton have you released PR #66 as a separate package? If not, I would like to have a go at turning that into a package."}}
{"actor":{"display_login":"ersel"}}