Skip to content

wolfictl check update github release checker should support full semver for pre-releases #960

@pnasrat

Description

@pnasrat

For example Python PEP 440 uses pre-release identfiers including a and b

These are compatible with semver but not excluded when wolfictl check update is run

Currently the githubrelease checker uses []string{"alpha", "beta", "rc", "pre"}

invalid := []string{"alpha", "beta", "rc", "pre"}

Semver defines pre-releases as

A pre-release version MAY be denoted by appending a hyphen and a series of dot separated identifiers immediately following the patch version. Identifiers MUST comprise only ASCII alphanumerics and hyphens [0-9A-Za-z-]. Identifiers MUST NOT be empty. Numeric identifiers MUST NOT include leading zeroes.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or requestneeds-triageapplied to all new customer/user issues. Removed after triage occurs.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions