]> git.immae.eu Git - github/wallabag/wallabag.git/commitdiff
Releasing documentation
authorNicolas Lœuillet <nicolas@loeuillet.org>
Tue, 1 Mar 2016 14:39:22 +0000 (15:39 +0100)
committerNicolas Lœuillet <nicolas@loeuillet.org>
Tue, 1 Mar 2016 19:10:26 +0000 (20:10 +0100)
docs/en/developer/releasing.rst [new file with mode: 0644]
docs/en/index.rst

diff --git a/docs/en/developer/releasing.rst b/docs/en/developer/releasing.rst
new file mode 100644 (file)
index 0000000..3c010a7
--- /dev/null
@@ -0,0 +1,45 @@
+Releasing wallabag
+==================
+
+During this documentation, we assume the release is `release-2.0.0-beta.1`.
+
+Files to edit
+-------------
+
+- ``app/config/config.yml`` (``wallabag_core.version``)
+- ``README.md`` (``composer create-project`` command)
+- ``docs/en/user/installation.rst`` and its translations (``composer create-project`` command)
+
+
+Create release on GitHub
+------------------------
+
+- Run these commands to create the tag:
+
+::
+
+    git checkout v2
+    git pull origin v2
+    git checkout -b release-2.0.0-beta.1
+    SYMFONY_ENV=prod composer up --no-dev
+    git add --force composer.lock
+    git add README.md
+    git commit -m "Release wallabag 2.0.0-beta.1"
+    git push origin release-2.0.0-beta.1
+
+
+- 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.
+- Run these commands to create the package:
+
+::
+
+    git clone git@github.com:wallabag/wallabag.git -b release-2.0.0-beta.1 release-2.0.0-beta.1
+    SYMFONY_ENV=prod composer up -d=release-2.0.0-beta.1 --no-dev
+    tar czf wallabag-release-2.0.0-beta.1.tar.gz --exclude="var/*" --exclude=".git" release-2.0.0-beta.1
+
+
+- `Create the new release on GitHub <https://github.com/wallabag/wallabag/releases/new>`__. You have to upload on this page the package.
+- Delete the ``release-2.0.0-beta.1`` branch and close the pull request (**DO NOT MERGE IT**).
+- Update the URL shortener (used on ``wllbg.org`` to generate links like ``http://wllbg.org/latest-v2-package`` or ``http://wllbg.org/latest-v2``)
+- Update `the downloads page <https://github.com/wallabag/wallabag.org/blob/master/content/pages/download.md>`__ on the website (MD5 sum, release date)
+- Drink a beer!
index 54d79e0cc7c486cf0a250877eed710afbecb3dfb..3367c8a96b5b7c4c1e650c36d71fb53fa07ce79f 100644 (file)
@@ -44,3 +44,4 @@ The main documentation for this application is organized into a couple sections:
    developer/docker
    developer/translate
    developer/maintenance
+   developer/releasing