|
5 | 5 | Before performing a release, perform a local "smoke-test".
|
6 | 6 | If everything seems OK, you can proceed to do the following:
|
7 | 7 |
|
8 | | -1. Update the version string in the following places: |
9 | | - - `openapi.json` |
10 | | - - `chat/package.json` |
11 | | - - `lib/httpapi/server.go` |
| 8 | +1. Update the version string in `internal/version/version.go` and run `make gen`. |
12 | 9 | 2. Add details in `CHANGELOG.md` on what changed.
|
13 | 10 | 3. Create a PR with the subject `chore: update version to X.Y.Z`
|
14 | | -4. Once the above PR is approved and merged, create a new git tag `vX.Y.Z` pointing to the commit of the above PR merged to `main`:S |
| 11 | +4. Once the above PR is approved and merged, create a new git tag `vX.Y.Z` pointing to the commit of the above PR merged to `main`: |
15 | 12 |
|
16 | 13 | ```shell
|
| 14 | + # Ensure your local copy is up to date with main. Be sure to stash any changes first. |
| 15 | + git fetch origin |
| 16 | + git reset --hard origin/main |
17 | 17 | # Fetch existing tags first!
|
18 | 18 | git fetch --tags
|
19 | 19 | git tag -a vX.Y.Z -m 'vX.Y.Z'
|
|
0 commit comments