This commit is contained in:
parent
51872b82a1
commit
c501f44119
2 changed files with 12 additions and 3 deletions
|
@ -15,6 +15,7 @@ NODE_APP_INSTANCE=6 NODE_ENV=test node dist/server --benchmark-startup
|
||||||
* Check CI tests are green
|
* Check CI tests are green
|
||||||
* Run BrowserStack **and** local E2E tests
|
* Run BrowserStack **and** local E2E tests
|
||||||
* Release: `GITHUB_TOKEN=my_token npm run release -- 1.x.x`
|
* 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`
|
* 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
|
* Check the release is okay: https://github.com/Chocobozzz/PeerTube/releases
|
||||||
* Update https://peertube3.cpy.re and check it works correctly
|
* Update https://peertube3.cpy.re and check it works correctly
|
||||||
|
|
|
@ -58,26 +58,34 @@ $ sudo -u postgres psql -c "CREATE EXTENSION unaccent;" peertube_prod
|
||||||
|
|
||||||
### :page_facing_up: Prepare PeerTube directory
|
### :page_facing_up: Prepare PeerTube directory
|
||||||
|
|
||||||
Fetch the latest tagged version of Peertube
|
Fetch the latest tagged version of Peertube:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ VERSION=$(curl -s https://api.github.com/repos/chocobozzz/peertube/releases/latest | grep tag_name | cut -d '"' -f 4) && echo "Latest Peertube version is $VERSION"
|
$ VERSION=$(curl -s https://api.github.com/repos/chocobozzz/peertube/releases/latest | grep tag_name | cut -d '"' -f 4) && echo "Latest Peertube version is $VERSION"
|
||||||
```
|
```
|
||||||
|
|
||||||
Open the peertube directory, create a few required directories
|
|
||||||
|
Open the peertube directory, create a few required directories:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cd /var/www/peertube
|
$ cd /var/www/peertube
|
||||||
$ sudo -u peertube mkdir config storage versions
|
$ sudo -u peertube mkdir config storage versions
|
||||||
$ sudo -u peertube chmod 750 config/
|
$ sudo -u peertube chmod 750 config/
|
||||||
```
|
```
|
||||||
|
|
||||||
Download the latest version of the Peertube client, unzip it and remove the zip
|
|
||||||
|
Download the latest version of the Peertube client, unzip it and remove the zip:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cd /var/www/peertube/versions
|
$ cd /var/www/peertube/versions
|
||||||
|
$ # Releases are also available on https://builds.joinpeertube.org/release
|
||||||
$ sudo -u peertube wget -q "https://github.com/Chocobozzz/PeerTube/releases/download/${VERSION}/peertube-${VERSION}.zip"
|
$ sudo -u peertube wget -q "https://github.com/Chocobozzz/PeerTube/releases/download/${VERSION}/peertube-${VERSION}.zip"
|
||||||
$ sudo -u peertube unzip -q peertube-${VERSION}.zip && sudo -u peertube rm peertube-${VERSION}.zip
|
$ sudo -u peertube unzip -q peertube-${VERSION}.zip && sudo -u peertube rm peertube-${VERSION}.zip
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
||||||
Install Peertube:
|
Install Peertube:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
$ cd /var/www/peertube
|
$ cd /var/www/peertube
|
||||||
$ sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest
|
$ sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest
|
||||||
|
|
Loading…
Reference in a new issue