From 39e6a5cbec21d5fa2e29be3e6f1c3e88726136ec Mon Sep 17 00:00:00 2001 From: Chocobozzz Date: Tue, 14 May 2019 10:35:22 +0200 Subject: [PATCH] Document how I do releases --- support/doc/development/release.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 support/doc/development/release.md diff --git a/support/doc/development/release.md b/support/doc/development/release.md new file mode 100644 index 000000000..1b027faf7 --- /dev/null +++ b/support/doc/development/release.md @@ -0,0 +1,19 @@ +# Release + + * Fix remaining important bugs + * Update [/CHANGELOG.md](/CHANGELOG.md) + * Check migrations: + * `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` and quit after initialization + * `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` and check migrations does not fail + * 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 + * Update https://peertube2.cpy.re and check it works correctly + * Check Travis tests are green + * 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` + * 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 on Mastodon & peertube-admin mailing list -- 2.25.1