This repository uses Conventional Commits to generate the changelog. See PROCESS.md.
To create the releases, standard-version will be used. (For a detailled documentation, see https://www.npmjs.com/package/standard-version#cli-usage)
- Install NodeJS
- Open a console and run
npm install --global standard-version
- Open a console and navigate to repo root (
cd /path/to/repo
) - Checkout master branch or other stable branch (
git checkout master
orgit checkout {branch}
) - Git pull (
git pull
) - Execute
standard-version --first-release
This will create the CHANGELOG.md file, commit it with the messagechore(release): 1.0.0
and create the git tagv1.0.0
- Run
git push --follow-tags origin master
to publish the release (commit and tag) to GitHub
-
Open a console and navigate to repo root (
cd /path/to/repo
) -
Checkout master branch or other stable branch (
git checkout master
orgit checkout {branch}
) -
Git pull (
git pull
) -
Execute
standard-version
This will update the CHANGELOG.md file, commit it with the messagechore(release): {version}
and create the git tagv{version}
{version}
will be a major version increase (e.g. 1.1.0 => 2.0.0), if a previous commit since the last release contains a BREAKING CHANGE in the description
{version}
will be a minor version increase (e.g. 1.1.0 => 1.2.0), if a previous commit message since the last release starts withfeat
(e.g.feat: feature description
orfeat(scope): feature description
)
{version}
will be a patch version increase (e.g. 1.1.0 => 1.1.1), if the above rules are not met -
Run
git push --follow-tags origin master
to publish the release (commit and tag) to GitHub
-
Open a console and navigate to repo root (
cd /path/to/repo
) -
Checkout master branch or other stable branch (
git checkout master
orgit checkout {branch}
) -
Git pull (
git pull
) -
Execute
standard-version --prerelease beta
This will update the CHANGELOG.md file, commit it with the messagechore(release): {version}-beta.{count}
and create the git tagv{version}-beta.{count}
{version}
will NOT CHANGE, if the previous release was also a prerelease
{version}
will be a major version increase (e.g. 1.1.0 => 2.0.0), if a previous commit since the last release contains a BREAKING CHANGE in the description
{version}
will be a minor version increase (e.g. 1.1.0 => 1.2.0), if a previous commit message since the last release starts withfeat
(e.g.feat: feature description
orfeat(scope): feature description
)
{version}
will be a patch version increase (e.g. 1.1.0 => 1.1.1), if the above rules are not met
{count}
will be0
or an increment of the last prerelease, if the last release was a prerelease (e.g. 1.1.0-beta.0 => 1.1.0-beta.1 -
Run
git push --follow-tags origin master
to publish the release (commit and tag) to GitHub