Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Create a program to handle release chores #2790

Copy link
Copy link
Open
@rickeylev

Description

@rickeylev
Issue body actions

There's a few tedious and mechanical steps for our release process around replacing
strings and updating docs. See RELEASING.md for all the steps.

It should be relatively easy to create a program that does the various string processing. The basic logic it needs to do is:

  • Update CHANGELOG.md
    • Replace the "Unreleased" title with [X.Y.Z] - YYYY-MM-DD
    • Replace 0.0.0 with X.Y.Z
    • Replace v0-0-0 with vX-Y-Z
    • Caveat: don't modify the "unreleased template" that is commented out.
  • Replace VERSION_NEXT_* markers
    • caveat: don't replace them in CONTRIBUTING.md, RELEASING.md, and .* dirs (.githhub etc)

Something more advanced could look at which VERSION_NEXT_{FEATURE,PATCH} markers exist to figure out the next semantic version, but that's just a nice to have.

Just being able to do tools/private/release.py 1.4.0 would be a big improvement over all the ad-hoc stuff we have to do today.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Good first issueA good first issue for people looking to contributeA good first issue for people looking to contributecleanupTech debt, resolving it improves our own velocityTech debt, resolving it improves our own velocitytype: process

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.