Skip to content

Auto-add all commits to release notes #56

Open

Description

@furlongm

Auto-adding all commits since the previous release to the release notes would be a nice option.

e.g. something like the body of this release:

https://github.com/bloomberg/chef-bcpc/releases/tag/7.1.20

Activity

  1. jcfr commented on Mar 29, 2019

    @jcfr
    Collaborator

    Neat idea.

    That said, since the body of the release can be specified, would it work to provide an example of bash script allowing to do this ?

    This would avoid adding complexity to the existing API

  2. furlongm commented on Apr 11, 2019

    @furlongm
    ContributorAuthor

    Possibly. Currently using something along the lines of

    $ last_release=1.5.8-12-g7d04474
    $ git log --merges --format='%b | %s' ${last_release}... | sed -n -e 's/^\(.*\)|\(.*Merge pull request.*\)\(#[0-9]*\).*$/\3 - \1/p' -e '/^ /d' 
    #57 - support for parameterized github api url
    

    Which actually adds all PRs since previous release (probably a better default).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions