Skip to content

Support for snapshot versions #202

Closed as not planned
Closed as not planned
@rrigoni

Description

@rrigoni

Why this library throws the following error if I use any release different than {major}.{minor}.{patch}? Anything like {major}.{minor}.{patch}-snapshot or even {major}.{minor}.{patch}.something throws the following error:

Run JS-DevTools/npm-publish@v2
  with:
    token: ***
    package: ./package.json
Error: InvalidPackageVersionError: Package version must be a string, got "undefined"

Happening with node 18 on github actions.

Metadata

Metadata

Assignees

No one assigned

    Labels

    more info neededMore information is needed to resolve the issue

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions