jscutlery / semver

Nx plugin to automate semantic versioning and CHANGELOG generation.
MIT License
731 stars 86 forks source link

Adding `releaseAs=preminor` && `preid=beta` doesn't work as expected #792

Open ak274 opened 7 months ago

ak274 commented 7 months ago

If a package is at v0.3.0-beta.0 and I run target to increment a version with the following config

{
        "preset": "angular",
        "push": true,
        "commitMessageFormat": "chore({projectName}): release version ${version} [skip ci]",
        "baseBranch": "HEAD:develop",
        "noVerify": true,
        "releaseAs": "preminor",
        "preid": "beta"
      }

It should update the version v0.3.0-beta.1 but it actually calculated version v0.4.0-beta.0 which is wrong.

ak274 commented 6 months ago

@edbzn This is long pending request and blocking us to update package its occurred in latest version. Please help.