]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - support/doc/development/release.md
Add @peertube/embed-api release doc
[github/Chocobozzz/PeerTube.git] / support / doc / development / release.md
1 # Release
2
3 ## PeerTube
4
5 * Fix remaining important bugs
6 * Update [/CHANGELOG.md](/CHANGELOG.md)
7 * Check migrations:
8 ```
9 npm run clean:server:test
10 git checkout master && rm -r ./node_modules && yarn install --pure-lockfile && npm run build:server
11 NODE_APP_INSTANCE=6 NODE_ENV=test node dist/server --benchmark-startup
12 git checkout develop && rm -r ./node_modules && yarn install --pure-lockfile && npm run build:server
13 NODE_APP_INSTANCE=6 NODE_ENV=test node dist/server --benchmark-startup
14 ```
15 * Run `rm -rf node_modules && rm -rf client/node_modules && yarn install --pure-lockfile && npm run build` to see if all the supported languages compile correctly
16 * Update https://peertube2.cpy.re and check it works correctly
17 * Check CI tests are green
18 * Run BrowserStack **and** local E2E tests
19 * Release: `GITHUB_TOKEN=my_token npm run release -- 1.x.x`
20 * Upload `tar.xz` on https://builds.joinpeertube.org/release
21 * Create a dedicated branch: `git checkout -b release/1.x.x && git push origin release/1.x.x`
22 * Check the release is okay: https://github.com/Chocobozzz/PeerTube/releases
23 * Update https://peertube3.cpy.re and check it works correctly
24 * Update all other instances and check it works correctly
25 * After a couple of days, update https://joinpeertube.org/api/v1/versions.json
26
27
28 ## @peertube/embed-api
29
30 ```
31 cd client/src/standalone/player
32 npm version patch
33 npm run build
34 npm publish --access=public
35 ```