]> git.immae.eu Git - github/Chocobozzz/PeerTube.git/blobdiff - support/doc/development/release.md
document parallel depedency and how to install it
[github/Chocobozzz/PeerTube.git] / support / doc / development / release.md
index bcc1a3d443d9948d1a5f7261cb22610db404a0bc..d62969cf246bed5b2ee5cc2ca4f42b8ad5cb850e 100644 (file)
@@ -6,17 +6,18 @@
 ```
 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
+NODE_APP_INSTANCE=6 NODE_ENV=test node dist/server --benchmark-startup
 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
+NODE_APP_INSTANCE=6 NODE_ENV=test node dist/server --benchmark-startup
 ```
- * 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
+ * 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
  * Update https://peertube2.cpy.re and check it works correctly
  * Check CI tests are green
- * Run E2E tests: `BROWSERSTACK_USER=my_user BROWSERSTACK_KEY=my_key npm run e2e`
+ * Run BrowserStack **and** local E2E tests
  * Release: `GITHUB_TOKEN=my_token npm run release -- 1.x.x`
+ * Upload `tar.xz` on https://builds.joinpeertube.org/release
  * Create a dedicated branch: `git checkout -b release/1.x.x && git push origin release/1.x.x`
  * 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
- * Communicate
+ * After a couple of days, update https://joinpeertube.org/api/v1/versions.json