github.com/letsencrypt/trillian@v1.1.2-0.20180615153820-ae375a99d36a/scripts/update_changelog.sh (about)

     1  #! /bin/bash
     2  #
     3  # Run this script from the top level directory of the trillian repo e.g.
     4  # with scripts/update_changelog.sh.
     5  #
     6  # GOPATH must be set.
     7  
     8  set +e
     9  d=${GOPATH[0]}
    10  
    11  # Get and build the correct branch that includes markdown output
    12  # TODO(Martin2112): replace with upstream repo if/when aktau/github-release#81 is merged
    13  go install github.com/Martin2112/github-release
    14  
    15  # Generate the changelog
    16  ${d}/bin/github-release info -r trillian -u google --markdown > CHANGELOG.md
    17