maddy/.github/releases.md

1.1 KiB

Release preparation

  1. Run linters, fix all simple warnings. If the behavior is intentional - add nolint comment and explanation. If the warning is non-trviail to fix - open an issue.
golangci-lint run
  1. Run unit tests suite. Verify that all disabled tests are not related to serious problems and have corresponding issue open.
go test ./...
  1. Run integration tests suite. Verify that all disabled tests are not related to serious problems and have corresponding issue open.
cd tests/
./run.sh
  1. Write release notes.

  2. Create PGP-signed Git tag and push it to GitHub (do not create a "release" yet).

  3. Use environment configuration from maddy-repro bundle (https://foxcpp.dev/maddy-repro) to build release artifacts.

  4. Create detached PGP signatures for artifacts using key 3197BBD95137E682A59717B434BB2007081396F4.

  5. Create sha256sums file for artifacts.

  6. Create release on GitHub using the same text for release notes. Attach signed artifacts and sha256sums file.

  7. Build the Docker container and push it to hub.docker.com.

  8. Post a message on the sr.ht mailing list.