Skip to content

Deploy action fails for invalid tags / verify release against tag and verify format of tag #16

@mcm1957

Description

@mcm1957

When tagging a Repository with i.e. 1.4.4-a while package.json contains release 1.4.4 the deploy to npm works and deploys release 1.4.4 but creating the github release fails.

a) The action should verify that the tag and the release specified at package.json match and abort with a clear error message if there's a mismatch.

b) The action should verify that the tag / version is a valid semver version (1.2.3 or 1.2.3-blabla.4). Other formats should be rejected.

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