From 50c8a573f7a2948bfbde808bc11eba764f2926a8 Mon Sep 17 00:00:00 2001 From: Julien Palard Date: Tue, 1 Aug 2017 13:24:45 +0200 Subject: [PATCH] README: Don't hardcode version in example. --- README.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.rst b/README.rst index 862814eb..319a6003 100644 --- a/README.rst +++ b/README.rst @@ -204,7 +204,7 @@ Merge pot files from cpython doc: .. code-block:: bash - VERSION=3.6 + VERSION="$(git describe --contains --all HEAD)" git clone --depth 1 --branch $VERSION https://github.com/python/cpython.git /tmp/cpython/ (cd /tmp/cpython/ && sphinx-build -Q -b gettext -D gettext_compact=0 Doc pot/) POT_PATH="/tmp/cpython/pot/"