Making a release
This is exclusive to NocoDB team members only
1. Merge develop to master
- When several features are included in develop branch and they are ready to be released, make a PR from
developbranch tomasterbranch. At least one NocoDB team member approval is required.
2. Publish frontend
- Navigate to
packages/nc-guiand execute following command.npm run build:copy:jsdeliver
3. Install frontend
-
Install the latest published version of
nc-lib-guiinpackages/nocodb, package version can be extracted from result of step 1 or copy it frompackages/nc-lib-gui/package.json. While installing, add-Eto install exact version of the package. -
Example: for latest published version
0.84.8npm i -E nc-lib-gui@0.84.8
4. Publish backend
- Bump package version in
packages/nocodb/package.jsonfile. - Publish the npm package by running following npm command in
packages/nocodbfolder.npm run obfuscate:build:publish
5. Prepare release notes
- Populate release note by running following github action (on
masterbranch) -Release : Draft Notes. While running the action you have to provide 2 inputs:- Tag : Provide current package version
- Previous Tag : Provide previously released tag version
6. Publish docker & release
- Publish docker image by running
Release : Dockeraction in github (onmasterbranch), where you have to provide the package version/tag. - Update the populated release (remove issues which is not related to release) draft and publish. In release note you can use
Auto-generate release notesbutton to populate release content from commits & PR.