diff --git a/README.rst b/README.rst
index b0cc49d99039855d302fd6bbcbdec1cd03adf2f3..c4cdc6b220211c11901c9ff2ee12134168e5bd8f 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/v3.1.7/pipeline.svg
-   :target: https://gitlab.idiap.ch/bob/bob.math/commits/v3.1.7
-.. image:: https://gitlab.idiap.ch/bob/bob.math/badges/v3.1.7/coverage.svg
-   :target: https://gitlab.idiap.ch/bob/bob.math/commits/v3.1.7
+.. 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://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 d40b13a3fb883324fa3d5532a0de4e5b42bc7f5b..5a4989d4dd6502b22eb3a35b3d78e4619802aa11 100644
--- a/version.txt
+++ b/version.txt
@@ -1 +1 @@
-3.1.7
\ No newline at end of file
+3.1.8b0
\ No newline at end of file