This prints out a Changelog that you can paste into the #releases Slack channel.
Usage steps:
- If required, install/configure the app as per the Installation section below.
- Run
bin/changelog
and it'll find the latest PR to master. - Paste the output into a text editor
- Prune out items that are unnecessary or unclear
- Work through the github master release log and see if any items in the changelog output have already been released to Live. If they are, remove them from the output.
- Paste the output into the #releases channel.
The code will automatically find the correct Pull Request ID, but if you want
to override things, you can force the ID with a command like
PR_ID=999 bin/changelog
- Install Ruby and run
bundle
in this directory. - On the Pivotal UI, go into your profile and get your personal API token
- On GitHub, go to your settings and create a 'Personal access token', giving permissions to 'repo:status', 'repo_deployment', and 'public_repo'
- Create a .env file that contains the following (see .env.sample for a complete list). Set the GITHUB_TOKEN, GITHUB_USERNAME, and PIVOTAL_TOKEN parameters appropriately.
GITHUB_COMPANY=BloomAndWild
GITHUB_REPO=bloomandwild
GITHUB_TOKEN=
GITHUB_USERNAME=
PIVOTAL_ID=1965735
PIVOTAL_TOKEN=