Skip to content

How is the current version determined? #195

@jednano

Description

@jednano

I'm having issues publishing my first @semantic-release/npm triggered publish, because it's running npm version 1.0.0 --no-git-tag-version when the v1.0.0 tag already exists in my repo, @jedmao/location. As such, I'm getting the following error:

npm ERR! Version not changed, might want --allow-same-version

Of course, I don't want to use --alow-same-version, because, as stated before, tag v1.0.0 already exists and my package.json file already says "version": "1.0.0".

How do I introduce @semantic-release/npm to an existing project with an already-published version? I'm triggering this all with npx semantic-release in the GitHub CI environment.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions