diff options
Diffstat (limited to 'RELEASE_PROCESS.md')
-rw-r--r-- | RELEASE_PROCESS.md | 28 |
1 files changed, 15 insertions, 13 deletions
diff --git a/RELEASE_PROCESS.md b/RELEASE_PROCESS.md index 38dd5a7c..829f8390 100644 --- a/RELEASE_PROCESS.md +++ b/RELEASE_PROCESS.md | |||
@@ -4,14 +4,17 @@ A release is mostly a git tag of http://github.com/wallabag/wallabag, following | |||
4 | 4 | ||
5 | ### Steps to release | 5 | ### Steps to release |
6 | 6 | ||
7 | During this documentation, we assume the release is `$LAST_WALLABAG_RELEASE`. | 7 | During this documentation, we assume the release is `$LAST_WALLABAG_RELEASE` (like 2.3.4). |
8 | 8 | ||
9 | #### Files to edit | 9 | #### Prepare the release |
10 | 10 | ||
11 | - `app/config/wallabag.yml` (`wallabag_core.version`) | 11 | - Update these files with new information |
12 | - `CHANGELOG.md` | 12 | - `app/config/wallabag.yml` (`wallabag_core.version`) |
13 | - `CHANGELOG.md` | ||
14 | - Create a PR named "Prepare $LAST_WALLABAG_RELEASE release". | ||
15 | - Wait for test to be ok, merge it. | ||
13 | 16 | ||
14 | #### Create release on GitHub | 17 | #### Create a new release on GitHub |
15 | 18 | ||
16 | - Run these commands to create the tag: | 19 | - Run these commands to create the tag: |
17 | 20 | ||
@@ -26,8 +29,8 @@ SYMFONY_ENV=prod composer up --no-dev | |||
26 | 29 | ||
27 | ```diff | 30 | ```diff |
28 | script: | 31 | script: |
29 | - - travis_wait bash composer install -o --no-interaction --no-progress --prefer-dist | 32 | - - travis_wait bash composer install -o --no-interaction --no-progress --prefer-dist |
30 | + - travis_wait composer update --no-interaction --no-progress | 33 | + - travis_wait bash composer update -o --no-interaction --no-progress --prefer-dist |
31 | ``` | 34 | ``` |
32 | 35 | ||
33 | - Then continue with these commands: | 36 | - Then continue with these commands: |
@@ -42,16 +45,15 @@ git push origin release-$LAST_WALLABAG_RELEASE | |||
42 | - Run these command to create the package: | 45 | - Run these command to create the package: |
43 | 46 | ||
44 | ``` | 47 | ``` |
45 | make release master /tmp wllbg-release prod | 48 | make release VERSION=$LAST_WALLABAG_RELEASE |
46 | ``` | 49 | ``` |
47 | 50 | ||
48 | - [Create the new release on GitHub](https://github.com/wallabag/wallabag/releases/new). You have to upload on this page the package. | 51 | - [Create the new release on GitHub](https://github.com/wallabag/wallabag/releases/new) by targetting the `release-$LAST_WALLABAG_RELEASE` branch. You have to upload the package (generated previously). |
49 | - Delete the `release-$LAST_WALLABAG_RELEASE` branch and close the pull request (**DO NOT MERGE IT**). | 52 | - Close the previously created pull request (**DO NOT MERGE IT**) and delete the `release-$LAST_WALLABAG_RELEASE` branch. |
50 | - Update the URL shortener (used on `wllbg.org` to generate links like `https://wllbg.org/latest-v2-package` or `http://wllbg.org/latest-v2`) | 53 | - Update the URL shortener (used on `wllbg.org` to generate links like `https://wllbg.org/latest-v2-package` or `http://wllbg.org/latest-v2`) |
51 | - Update [the downloads page](https://github.com/wallabag/wallabag.org/blob/master/content/pages/download.md) on the website (MD5 sum, release date) | ||
52 | - Update Dockerfile https://github.com/wallabag/docker (and create a new tag) | 54 | - Update Dockerfile https://github.com/wallabag/docker (and create a new tag) |
53 | - Update wallabag.org website (downloads, releases and new blog post) | 55 | - Update wallabag.org website (downloads, MD5 sum, releases and new blog post) |
54 | - Put the next patch version suffixed with `-dev` in `app/config/config.yml` (`wallabag_core.version`) | 56 | - Put the next patch version suffixed with `-dev` in `app/config/wallabag.yml` (`wallabag_core.version`) |
55 | - Drink a :beer:! | 57 | - Drink a :beer:! |
56 | 58 | ||
57 | ### `composer.lock` | 59 | ### `composer.lock` |