diff options
author | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-03-01 15:39:22 +0100 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas@loeuillet.org> | 2016-03-01 20:10:26 +0100 |
commit | 461a1714679bf43075fa7c390e37cbc7f11af095 (patch) | |
tree | e9fd301be0078367444298891921dc108bc7e2ef /docs/en/developer | |
parent | f8b835f537c8bec0460f94b960a8d81745f9e9d6 (diff) | |
download | wallabag-461a1714679bf43075fa7c390e37cbc7f11af095.tar.gz wallabag-461a1714679bf43075fa7c390e37cbc7f11af095.tar.zst wallabag-461a1714679bf43075fa7c390e37cbc7f11af095.zip |
Releasing documentation
Diffstat (limited to 'docs/en/developer')
-rw-r--r-- | docs/en/developer/releasing.rst | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/docs/en/developer/releasing.rst b/docs/en/developer/releasing.rst new file mode 100644 index 00000000..3c010a7c --- /dev/null +++ b/docs/en/developer/releasing.rst | |||
@@ -0,0 +1,45 @@ | |||
1 | Releasing wallabag | ||
2 | ================== | ||
3 | |||
4 | During this documentation, we assume the release is `release-2.0.0-beta.1`. | ||
5 | |||
6 | Files to edit | ||
7 | ------------- | ||
8 | |||
9 | - ``app/config/config.yml`` (``wallabag_core.version``) | ||
10 | - ``README.md`` (``composer create-project`` command) | ||
11 | - ``docs/en/user/installation.rst`` and its translations (``composer create-project`` command) | ||
12 | |||
13 | |||
14 | Create release on GitHub | ||
15 | ------------------------ | ||
16 | |||
17 | - Run these commands to create the tag: | ||
18 | |||
19 | :: | ||
20 | |||
21 | git checkout v2 | ||
22 | git pull origin v2 | ||
23 | git checkout -b release-2.0.0-beta.1 | ||
24 | SYMFONY_ENV=prod composer up --no-dev | ||
25 | git add --force composer.lock | ||
26 | git add README.md | ||
27 | git commit -m "Release wallabag 2.0.0-beta.1" | ||
28 | git push origin release-2.0.0-beta.1 | ||
29 | |||
30 | |||
31 | - Create a new pull request ``DON'T MERGE Release wallabag 2.0.0-beta.1``. This pull request is used to launch builds on Travis-CI. | ||
32 | - Run these commands to create the package: | ||
33 | |||
34 | :: | ||
35 | |||
36 | git clone git@github.com:wallabag/wallabag.git -b release-2.0.0-beta.1 release-2.0.0-beta.1 | ||
37 | SYMFONY_ENV=prod composer up -d=release-2.0.0-beta.1 --no-dev | ||
38 | tar czf wallabag-release-2.0.0-beta.1.tar.gz --exclude="var/*" --exclude=".git" release-2.0.0-beta.1 | ||
39 | |||
40 | |||
41 | - `Create the new release on GitHub <https://github.com/wallabag/wallabag/releases/new>`__. You have to upload on this page the package. | ||
42 | - Delete the ``release-2.0.0-beta.1`` branch and close the pull request (**DO NOT MERGE IT**). | ||
43 | - Update the URL shortener (used on ``wllbg.org`` to generate links like ``http://wllbg.org/latest-v2-package`` or ``http://wllbg.org/latest-v2``) | ||
44 | - Update `the downloads page <https://github.com/wallabag/wallabag.org/blob/master/content/pages/download.md>`__ on the website (MD5 sum, release date) | ||
45 | - Drink a beer! | ||