Skip to content

Release process is cumbersome #683

Open
@jaraco

Description

@jaraco

In #493, I set out to make the release process as lightweight as possible while keeping a reasonable level of reliability and auditability.

Today, I went to cut a quick release based on a PR, but ran into several steps that made it difficult.

First, the release process demands a PR, which implies:

  • check out the code
  • create a branch
  • prepare the release
  • push new branch
  • create pr
  • switch to browser
  • wait minutes for CI to finish
    • fix noisy test failures (in code that has previously passed review)
  • squash merge the changes
  • delete the upstream branch
  • switch back to cli
  • switch back to master
  • pull the changes
  • locate and delete the now orphaned commit (due to squashed merge)
  • tag the release and push the tag

Previously, this approach could be shortened to:

  • check out the code
  • prepare the release
  • tag the release and push the tag

I tried expediting the process by merging locally and pushing that commit to master, but master is locked, so a PR is required.

This additional process multiplies the cost of cutting a release by several orders of magnitude and makes releasing something that requires a larger investment than necessary and will limit the frequency of releases.

I'd much rather see a streamlined process again.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions