diff --git a/README.rst b/README.rst
index c4cdc6b220211c11901c9ff2ee12134168e5bd8f..4f35fb59ddf65a2369b0e02ebe20317ef50261a7 100644
--- a/README.rst
+++ b/README.rst
@@ -3,10 +3,10 @@
 
 .. image:: https://img.shields.io/badge/docs-available-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/pipeline.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.8/pipeline.svg
+   :target: https://gitlab.idiap.ch/bob/bob.math/commits/v3.1.8
+.. image:: https://gitlab.idiap.ch/bob/bob.math/badges/v3.1.8/coverage.svg
+   :target: https://gitlab.idiap.ch/bob/bob.math/commits/v3.1.8
 .. image:: https://img.shields.io/badge/gitlab-project-0000c0.svg
    :target: https://gitlab.idiap.ch/bob/bob.math
 
diff --git a/version.txt b/version.txt
index 5a4989d4dd6502b22eb3a35b3d78e4619802aa11..c848fb9cb4360e56d99baf29c773614f23a58ce3 100644
--- a/version.txt
+++ b/version.txt
@@ -1 +1 @@
-3.1.8b0
\ No newline at end of file
+3.1.8