README: add publishing docs (#667)

This commit is contained in:
csett86 2021-11-16 21:43:01 +01:00 committed by GitHub
parent e70ea1285e
commit ee1d4e1e14
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 12 additions and 0 deletions

View File

@ -133,6 +133,18 @@ npm install @jitsi/electron-sdk --force
NOTE: Also check the [jitsi-meet-electron-sdk README] to see how to configure
your environment.
#### Publishing
1. Create release branch: `git checkout -b release-1-2-3`, replacing 1-2-3 with the desired release version
2. Increment the version: `npm version patch`, replacing `patch` with `minor` or `major` as required
3. Push release branch to github: `git push -u origin release-1-2-3`
4. Create PR: `gh pr create`
5. Once PR is reviewed and ready to merge, create draft Github release: `gh release create v1.2.3 --draft --title 1.2.3`, replacing v1.2.3 and 1.2.3 with the desired release version
6. Merge PR
7. Github action will build binaries and attach to the draft release
8. Test binaries from draft release
9. If all tests are fine, publish draft release
</details>
## Known issues