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