Skip to content

bumping to the wrong version #928

@stratoss

Description

@stratoss

Describe the bug
After months of normal usage, today standard-version stopped bumping the versions normally. It is trying to bump it from 2.3.0 to 1.0.1.

Current behavior
✔ bumping version in composer.json from 2.3.0 to 1.0.1

Expected behavior
✔ bumping version in composer.json from 2.3.0 to 2.3.1

Environment

  • standard-version version(s): 9.3.1
  • Node/npm version: node v16.17.0
  • OS: Debian 11

Possible Solution

Additional context
.versionrc.js:

module.exports = {
	"releaseCommitMessageFormat": "chore(release): {{currentTag}} [ci skip]",
	bumpFiles: [{
		filename: 'composer.json',
		type: 'json'
	}],
};

git tag -l returns last tag as v2.3.0

composer.json holds the proper 2.3.0 version

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