-A prerelease will update the version in the package.json to an appropriate semver version (based on whether the changes since the last tag are fixes, features and whether they contain breaking changes). In this case the `rc` tag is used in the semver string to mark it as a pre-release. It will then update the [CHANGELOG.md](CHANGELOG.md) file with the relevant changes since the last changelog update. These two changes are then committed with a standardised commit message. At this point, a tag is created with the same version number as the version field of the package.json. The second command then pushes both the new commit as well as the new tag.
0 commit comments