]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blob - support/doc/development/release.md
Document how I do releases
[github/Chocobozzz/PeerTube.git] / support / doc / development / release.md
1 # Release
2
3 * Fix remaining important bugs
4 * Update [/CHANGELOG.md](/CHANGELOG.md)
5 * Check migrations:
6 * `npm run clean:server:test`
7 * `git checkout master && rm -r ./node_modules && yarn install --pure-lockfile && npm run build:server`
8 * `NODE_APP_INSTANCE=6 NODE_ENV=test npm run start` and quit after initialization
9 * `git checkout develop && rm -r ./node_modules && yarn install --pure-lockfile && npm run build:server`
10 * `NODE_APP_INSTANCE=6 NODE_ENV=test npm run start` and check migrations does not fail
11 * Run `rm -r node_modules && rm -r client/node_modules && yarn install --pure-lockfile && npm run build` to see if all the supported languages compile correctly
12 * Update https://peertube2.cpy.re and check it works correctly
13 * Check Travis tests are green
14 * Run E2E tests: `BROWSERSTACK_USER=my_user BROWSERSTACK_KEY=my_key npm run e2e`
15 * Release: `GITHUB_TOKEN=my_token npm run release -- 1.x.x`
16 * Check the release is okay: https://github.com/Chocobozzz/PeerTube/releases
17 * Update https://peertube3.cpy.re and check it works correctly
18 * Update all other instances and check it works correctly
19 * Communicate on Mastodon & peertube-admin mailing list