mirror of
https://github.com/TriliumNext/Notes.git
synced 2025-07-27 18:12:29 +08:00
862 B
862 B
Release management & continuous integration
To automate the release process, a GitHub workflow has been added which builds the package and releases it over to GitHub NPM registry.
The workflow publishes a release whenever a tag with the correct format is pushed.
The steps are as follows:
- Ensure that the source code is clean and ready for a release.
- Go to
package.json
and bump theversion
field. - Commit the changes.
- Tag the commit with
v1.2.3
, with the correct version number. - Push the changes.
Then follow the CI and it should indicate success. Afterwards, check the packagesection to ensure that the package is in the “Recent Versions” section.
If the changes could benefit upstream, consider opening a pull request with the changes there as well.