Skip to content

Fallback to git tag if no version in package file #897

Open
absolute-version/commit-and-tag-version
#2
@Djaler

Description

@Djaler

Describe the bug
I have a frontend project with package.json file, but it doesn't contain a version field.

Current behavior
tagging release undefined

Expected behavior
It should take current version from a git tag instead

Environment

  • standard-version version(s): 9.3.2

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