Skip to content

--git-tag-fallback not working properly #824

Open
@pavel-kalmykov

Description

@pavel-kalmykov

Describe the bug
I am using this tool in a non-NodeJS project and it is unable to identify the last tag.

Current behavior
When executed, it generates all the changelog from scratch and always tags as 1.1.0 unless I use the --release-as option and manually modify the CHANGELOG.md file.

Expected behavior
It should detect what my last version tag is and:

  1. Generate only the new changes.
  2. Create the next tag accordingly.

Environment

  • standard-version version(s): 9.3.1
  • Node/npm version: v14.9.0/6.14.10
  • OS: Mac OS 11.5.2

Additional context
I can get my last tag with

$ git describe --tags $(git rev-list --tags --max-count=1)
v1.1.1

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