# QFI NPM Package Releasing
### target packages
* contracts
* subgraph
### Scenario
Regular release cycle
1. Create PR; `/dev` branch into `/main` branch
2. If step 1. merged, then automatically create PR; `main` into `release`
2.1. (automated) CI bot will bump the patch version and commit it into `/main` branch
2.2. (manual) If change list is major or minor update, commit the bump to `/main` branch
3. If step 2. merged, then CI will publish package to NPM. And create GitHub release with auto-generated changelog
Hotfix workflow
1. If bug has been reported to released version, create hotfix PR to `/main` branch
2. Repeat above procedure from step 2