conventional-changelog/standard-version

prerelease messes up with version bump

オープン

#428 opened on 2019/08/07

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)JavaScript (825 件のフォーク)batch import
bughelp wanted

Repository metrics

Stars
 (7,442 個のスター)
PR merge metrics
 (30d に merged PR はありません)

説明

When I do a pre-release i.e. on a dev branch

yarn standard-version --no-verify --prerelease integration --skip.changelog --skip.commit

Which is fine, it released correctly to v2.0.0-integration.0 with a breaking change

However, when I merge from integration branch to master

It didn't pick it up as v2.0.0 instead it picked it up as v1.11.3 which is weird, however when I remove the previous tag locally tag -d v2.0.0-integration.0 and ran a dry-run

it picked it up correctly as tagging release v2.0.0 which is correct.

So I assumed the prerelease versioning in the tag is not being parsed properly? Otherwise, if we can ignore it would be good also. Thanks.

コントリビューターガイド