Skip to content
Frank Schröder edited this page Oct 25, 2018 · 9 revisions

Build env

  1. Is homebrew up-to-date? Run brew update ; brew cleanup
  2. Is the latest consul and vault installed via homebrew? Check with consul verson and vault version.
  3. Is goreleaser installed? If not run brew install goreleaser.
  4. Is the GITHUB_TOKEN environment variable set with a valid github api token? (required for goreleaser) If not, create one at https://github.com/settings/tokens
  5. Does https://github.com/magiconair/homebrew-core exist? (required for homebrew update)

Pre-flight

  1. Does the code build? Run make to check.
  2. Is Codeship green? Codeship CI Status
  3. Is there a milestone for that release in github?
  4. Are all issues and pull requests which got merged associated with that milestone?
  5. Are all items of the milestone closed?
  6. Does CHANGELOG.md contain all changes from the milestone?

Release

  1. Update CHANGELOG.md and update the Unreleased title to version and date of the release.
  2. Update version in main.go with the next version.
  3. Commit the CHANGELOG.md and main.go with message Prepare for release x.y.z
  4. Run make release to tag the code, build the release for all supported platforms, package it with goreleaser and push it to homebrew and github with changelog.
  5. A browser window should open for the homebrew pull request. Mark all [X] checkboxes and submit.