-
Notifications
You must be signed in to change notification settings - Fork 5
How to publish a new version of the Kontent CLI
Ondřej Chrastina edited this page May 25, 2021
·
1 revision
This page is primarily for the maintainers of this repository.
To publish the new version of @kentico/kontent-cli npm package follow these steps:
- Increase version in package.json (used for tracking header too)
- Follow the Semantic versioning system.
- Create a pull request with the change
- If you need to add new packages to the npm bundle - list them in .npmignore file (with
!
prefix)
- If you need to add new packages to the npm bundle - list them in .npmignore file (with
- After the pull request is merged into the
master
branch Create a new GitHub release-
Use the semver version number as is set in the
package.json
file "tag version" and "release title" - see existing releases
-
Use the semver version number as is set in the
- After the successful release a new GitHub actions
publish-to-npm
is run and the new version is published automatically to npm
If you have any problem, please contact the code owners of this repository.