PeerTube/support/doc/development/release.md

23 lines
1.2 KiB
Markdown
Raw Normal View History

2019-05-14 10:35:22 +02:00
# Release
* Fix remaining important bugs
* Update [/CHANGELOG.md](/CHANGELOG.md)
* Check migrations:
2020-05-14 13:47:03 +02:00
```
npm run clean:server:test
git checkout master && rm -r ./node_modules && yarn install --pure-lockfile && npm run build:server
NODE_APP_INSTANCE=6 NODE_ENV=test npm run start
git checkout develop && rm -r ./node_modules && yarn install --pure-lockfile && npm run build:server
NODE_APP_INSTANCE=6 NODE_ENV=test npm run start
```
2021-03-04 10:05:07 +01:00
* 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
2019-05-14 10:35:22 +02:00
* Update https://peertube2.cpy.re and check it works correctly
2019-07-29 11:59:29 +02:00
* Check CI tests are green
2019-05-14 10:35:22 +02:00
* Run E2E tests: `BROWSERSTACK_USER=my_user BROWSERSTACK_KEY=my_key npm run e2e`
* Release: `GITHUB_TOKEN=my_token npm run release -- 1.x.x`
2019-05-14 13:59:10 +02:00
* Create a dedicated branch: `git checkout -b release/1.x.x && git push origin release/1.x.x`
2019-05-14 10:35:22 +02:00
* Check the release is okay: https://github.com/Chocobozzz/PeerTube/releases
* Update https://peertube3.cpy.re and check it works correctly
* Update all other instances and check it works correctly
2021-03-12 16:20:48 +01:00
* After a couple of days, update https://joinpeertube.org/api/v1/versions.json