diff --git a/README.rst b/README.rst
index 1906f039dc60584bebe6f3e0268c3bbd60918201..9d259c07b91cac686e69ea6bc6bf71b73f4058f4 100644
--- a/README.rst
+++ b/README.rst
@@ -1,14 +1,14 @@
 .. vim: set fileencoding=utf-8 :
 .. Thu 11 Aug 2016 09:34:29 CEST
 
-.. image:: http://img.shields.io/badge/docs-stable-yellow.svg
-   :target: https://www.idiap.ch/software/bob/docs/bob/bob.math/stable/index.html
+.. image:: http://img.shields.io/badge/docs-v3.1.2-yellow.svg
+   :target: https://www.idiap.ch/software/bob/docs/bob/bob.math/v3.1.2/index.html
 .. image:: http://img.shields.io/badge/docs-latest-orange.svg
    :target: https://www.idiap.ch/software/bob/docs/bob/bob.math/master/index.html
-.. image:: https://gitlab.idiap.ch/bob/bob.math/badges/master/build.svg
-   :target: https://gitlab.idiap.ch/bob/bob.math/commits/master
-.. image:: https://gitlab.idiap.ch/bob/bob.math/badges/master/coverage.svg
-   :target: https://gitlab.idiap.ch/bob/bob.math/commits/master
+.. image:: https://gitlab.idiap.ch/bob/bob.math/badges/v3.1.2/build.svg
+   :target: https://gitlab.idiap.ch/bob/bob.math/commits/v3.1.2
+.. image:: https://gitlab.idiap.ch/bob/bob.math/badges/v3.1.2/coverage.svg
+   :target: https://gitlab.idiap.ch/bob/bob.math/commits/v3.1.2
 .. image:: https://img.shields.io/badge/gitlab-project-0000c0.svg
    :target: https://gitlab.idiap.ch/bob/bob.math
 .. image:: http://img.shields.io/pypi/v/bob.math.svg
@@ -42,4 +42,4 @@ development `mailing list`_.
 .. Place your references here:
 .. _bob: https://www.idiap.ch/software/bob
 .. _installation: https://www.idiap.ch/software/bob/install
-.. _mailing list: https://www.idiap.ch/software/bob/discuss
\ No newline at end of file
+.. _mailing list: https://www.idiap.ch/software/bob/discuss
diff --git a/version.txt b/version.txt
index 408bd2c2aceed9530e27c5ff6b00c6990ee0af14..6ebad1488812c78185c6791d1ac48b7b5f8aca41 100644
--- a/version.txt
+++ b/version.txt
@@ -1 +1 @@
-3.1.2b0
\ No newline at end of file
+3.1.2
\ No newline at end of file