Skip to content

Normalize release tags to vX.X.X format for python-semantic-release #569

Description

@farhan

Purpose

Normalize the release/version tag format to vX.X.X (with the v prefix) across the repos listed below.

Why this is needed

As we convert repos to python-semantic-release (PSR), PSR looks at existing tags to determine the current version and compute the next one. PSR expects tags in the form v#.#.#, but several repos currently tag versions without the v prefix (e.g. 4.0.0 instead of v4.0.0).

When the v prefix is missing, PSR fails to recognize the latest version and wrongly starts a fresh 0.1.0 release instead of bumping from the real current version. Re-tagging these repos to the vX.X.X format ensures PSR picks up the correct history and versions the next release accurately.

Original context from the Feanil:

Something to watch out for as we convert things to python semantic release — to find old versions to figure out what the next version should be. PSR looks for tags like v#.#.#, but in many of our repos we don't currently have the v prefix on version tags, so in those cases it wrongly tags a new 0.1.0 version.

Slack message

Repos to fix

These repos have their latest release/version tag without the v prefix:

Parent: #506

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions