release-notes

command module
v0.1.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 9, 2019 License: Apache-2.0 Imports: 12 Imported by: 0

README

release-notes

Build Status LICENSE Go Report Card

Generates a markdown changelog of merged pull requests since last release.

The script uses the GitHub API to retrieve a list of all merged pull requests since the last release. The found pull requests are then printed as markdown changelog with their commit summary and a link to the pull request on GitHub.

The idea and original implementation of this script is due to Bálint Pató (@balopat) while working on minikube and Skaffold.

Examples

The binary expects two parameters:

  1. The GitHub organization which your repository is part of.
  2. The repository name.

For example:

./release-notes GoogleContainerTools skaffold

which will output

Collecting pull request that were merged since the last release: v0.38.0 (2019-09-12 22:56:07 +0000 UTC)
* add github pull request template [#2894](https://github.com/googlecontainertools/skaffold/pull/2894)
* Add Jib-Gradle support for Kotlin buildscripts [#2914](https://github.com/googlecontainertools/skaffold/pull/2914)
* Add missing T.Helper() in testutil.Check* as required [#2913](https://github.com/googlecontainertools/skaffold/pull/2913)
* Move buildpacks tutorial to buildpacks example README [#2908](https://github.com/googlecontainertools/skaffold/pull/2908)
...

Installation

Currently, you need a working Go compiler to build this script:

go get github.com/corneliusweig/release-notes

Documentation

Overview

listpullreqs.go lists pull requests since the last release.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL