2019-05-14 04:35:22 -04:00
# Release
2022-09-09 05:38:51 -04:00
## PeerTube
2019-05-14 04:35:22 -04:00
* Fix remaining important bugs
2022-09-13 04:33:57 -04:00
* Ensure French translation is 100% (for the screens in the JoinPeerTube blog post)
2019-05-14 04:35:22 -04:00
* Update [/CHANGELOG.md ](/CHANGELOG.md )
* Check migrations:
2020-05-14 07:47:03 -04:00
```
npm run clean:server:test
git checkout master & & rm -r ./node_modules & & yarn install --pure-lockfile & & npm run build:server
2021-11-30 02:36:34 -05:00
NODE_APP_INSTANCE=6 NODE_ENV=test node dist/server --benchmark-startup
2020-05-14 07:47:03 -04:00
git checkout develop & & rm -r ./node_modules & & yarn install --pure-lockfile & & npm run build:server
2021-11-30 02:36:34 -05:00
NODE_APP_INSTANCE=6 NODE_ENV=test node dist/server --benchmark-startup
2020-05-14 07:47:03 -04:00
```
2021-03-04 04:05:07 -05: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 04:35:22 -04:00
* Update https://peertube2.cpy.re and check it works correctly
2019-07-29 05:59:29 -04:00
* Check CI tests are green
2021-11-24 04:49:12 -05:00
* Run BrowserStack **and** local E2E tests
2019-05-14 04:35:22 -04:00
* Release: `GITHUB_TOKEN=my_token npm run release -- 1.x.x`
2023-08-17 09:14:09 -04:00
* Update `openapi.yaml` version
2021-12-16 08:35:41 -05:00
* Upload `tar.xz` on https://builds.joinpeertube.org/release
2019-05-14 07:59:10 -04:00
* Create a dedicated branch: `git checkout -b release/1.x.x && git push origin release/1.x.x`
2019-05-14 04:35:22 -04: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 10:20:48 -05:00
* After a couple of days, update https://joinpeertube.org/api/v1/versions.json
2022-09-09 05:38:51 -04:00
## @peertube/embed-api
2023-07-10 10:41:08 -04:00
At the root of PeerTube:
2022-09-09 05:38:51 -04:00
```
2023-07-10 10:41:08 -04:00
cd client/src/standalone/embed-player-api
2022-09-09 05:38:51 -04:00
npm version patch
2023-07-10 10:41:08 -04:00
cd ../../../../
npm run release-embed-api
2022-09-09 05:38:51 -04:00
```