{"action":"created","issue":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/1031","labels_url":"https://api.github.com/repos/fastlane/fastlane/issues/1031/labels{/name}","comments_url":"https://api.github.com/repos/fastlane/fastlane/issues/1031/comments","events_url":"https://api.github.com/repos/fastlane/fastlane/issues/1031/events","html_url":"https://github.com/fastlane/fastlane/pull/1031","id":123956165,"number":1031,"title":"New changelog_from_last_tag action.","user":{"login":"scottrhoyt","id":4259250,"avatar_url":"https://avatars.githubusercontent.com/u/4259250?v=3","gravatar_id":"","url":"https://api.github.com/users/scottrhoyt","html_url":"https://github.com/scottrhoyt","followers_url":"https://api.github.com/users/scottrhoyt/followers","following_url":"https://api.github.com/users/scottrhoyt/following{/other_user}","gists_url":"https://api.github.com/users/scottrhoyt/gists{/gist_id}","starred_url":"https://api.github.com/users/scottrhoyt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/scottrhoyt/subscriptions","organizations_url":"https://api.github.com/users/scottrhoyt/orgs","repos_url":"https://api.github.com/users/scottrhoyt/repos","events_url":"https://api.github.com/users/scottrhoyt/events{/privacy}","received_events_url":"https://api.github.com/users/scottrhoyt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"mfurtak","id":343134,"avatar_url":"https://avatars.githubusercontent.com/u/343134?v=3","gravatar_id":"","url":"https://api.github.com/users/mfurtak","html_url":"https://github.com/mfurtak","followers_url":"https://api.github.com/users/mfurtak/followers","following_url":"https://api.github.com/users/mfurtak/following{/other_user}","gists_url":"https://api.github.com/users/mfurtak/gists{/gist_id}","starred_url":"https://api.github.com/users/mfurtak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfurtak/subscriptions","organizations_url":"https://api.github.com/users/mfurtak/orgs","repos_url":"https://api.github.com/users/mfurtak/repos","events_url":"https://api.github.com/users/mfurtak/events{/privacy}","received_events_url":"https://api.github.com/users/mfurtak/received_events","type":"User","site_admin":false},"milestone":null,"comments":4,"created_at":"2015-12-27T01:44:50Z","updated_at":"2015-12-30T00:40:33Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/fastlane/fastlane/pulls/1031","html_url":"https://github.com/fastlane/fastlane/pull/1031","diff_url":"https://github.com/fastlane/fastlane/pull/1031.diff","patch_url":"https://github.com/fastlane/fastlane/pull/1031.patch"},"body":"I created this action because the existing `changelog_from_git_commits` did not serve my use case. We have different lanes for different types of releases (e.g. Dev, QA, Prod) and use the `git_add_tag` action to tag these releases. Using `changelog_from_git_commits` the changelog will only contain the commit messages since the last tag even if that tag exists in a different `grouping`, `lane`, or uses a different `prefix`. For us this means that our changelog for a new QA release won't contain all the changes since our last QA release if we have made and tagged a Dev or Prod release since then. This action solves this issue by using the same pattern as `add_git_tag` for searching for the last tag.\r\n\r\nI have two questions:\r\n1. Currently I am duplicating the pattern creation portion of `add_git_tag`, but perhaps this can be refactored into a commonly accessible function to avoid duplication and keep the actions consistent in event of a change?\r\n2. I would like to use the same output (`FL_CHANGELOG`) as `changelog_from_git_commits` so that there can be a common lane value for other actions to use. I am currently doing this by overriding `FL_CHANGELOG` in my `SharedValues` as well, but perhaps we can declare `FL_CHANGELOG` or simply just `CHANGELOG` in [actions_helper](https://github.com/fastlane/fastlane/blob/master/lib/fastlane/actions/actions_helper.rb) to facilitate multiple actions that might want to set a common changelog? If so, I can make the changes necessary to accomplish this.\r\n"},"comment":{"url":"https://api.github.com/repos/fastlane/fastlane/issues/comments/167906024","html_url":"https://github.com/fastlane/fastlane/pull/1031#issuecomment-167906024","issue_url":"https://api.github.com/repos/fastlane/fastlane/issues/1031","id":167906024,"user":{"login":"mfurtak","id":343134,"avatar_url":"https://avatars.githubusercontent.com/u/343134?v=3","gravatar_id":"","url":"https://api.github.com/users/mfurtak","html_url":"https://github.com/mfurtak","followers_url":"https://api.github.com/users/mfurtak/followers","following_url":"https://api.github.com/users/mfurtak/following{/other_user}","gists_url":"https://api.github.com/users/mfurtak/gists{/gist_id}","starred_url":"https://api.github.com/users/mfurtak/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mfurtak/subscriptions","organizations_url":"https://api.github.com/users/mfurtak/orgs","repos_url":"https://api.github.com/users/mfurtak/repos","events_url":"https://api.github.com/users/mfurtak/events{/privacy}","received_events_url":"https://api.github.com/users/mfurtak/received_events","type":"User","site_admin":false},"created_at":"2015-12-30T00:40:33Z","updated_at":"2015-12-30T00:40:33Z","body":"Hi @scottrhoyt - thanks for putting this together! :+1: \r\n\r\nWe'll definitely take a look, but I wanted to let you know that some folks (including me) are on vacation until the new year, so it will probably be another week or so until we review. Apologies for the delay, and have a happy new years! :tada: :confetti_ball:"}}