-
Change version in
package.json(to the target version) - use branchrelease/v{x.y.z} -
Run
npm iin the root directory as well as inexample-preact,example-vanilla,example-reactandexample-next-jsdirectories - Update version in docs
- update version in
docs/docs.jsonfile - update directory name of
docs/v{oldVersion}todocs/v{newVersion} - make sure to update all references to the old version in the
docs/docs.jsonfile
- create a new directory in
docscalledv{newVersion} - copy all files from
docs/v{oldVersion}todocs/v{newVersion} - create a new version entry in
docs/docs.jsonfile - write upgrade guide and put it in the docs
-
Update version in
InstallTabs.tsx::no build,example-preact/index.html,README.md,example-preact/src/App.tsxandcustom-file-loaders.mdx -
Verify if
importer/storage.ts:DB_VERSIONneeds to be bumped. It should be bumped anytime the release contains any breaking changes toImporterState. If it is true, increment theDB_VERSION. -
Create a PR in the repository called
Release v{x.y.z} -
Run
npm publishin the root directory, you can use--dry-runflag to test the deployment -
Create a new release in Github - https://github.com/HelloCSV/HelloCSV/releases. Remember about creating a tag (
v{x.y.z}) and writing release notes. -
Merge
maintoproductionbranch - this would trigger docs deployment to Mintlify