Skip to content

[admin] Validate version format in release workflow #21490

Closed
@mx-psi

Description

@mx-psi

Component(s)

No response

Describe the issue you're reporting

We don't do any validation on the version introduced for the prepare-release workflow, but we have some restrictions on the version format as documented here:

workflow_dispatch:
# Determine the version number that will be assigned to the release. During the beta phase, we increment
# the minor version number and set the patch number to 0.
inputs:
candidate-beta:
required: true
description: Release candidate version (beta, like 0.70.0)
current-beta:
required: true
description: Current version (beta, like 0.69.1)

We also require the version to not start with v. We should add some validation to make the release workflow fail fast if the tags don't match the expected schema.

Relates to open-telemetry/opentelemetry-collector#7576, open-telemetry/opentelemetry-collector#7627

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

    good first issueGood for newcomershelp wantedExtra attention is neededrelease-retroIssues discussed in a release retrospective

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions