Skip to content

Commit b2e4e9d

Browse files
authored
Merge pull request #440 from PyAutoLabs/feature/default-branch-release-to-main
docs(install): clone workspace at tag matching library version
2 parents 85497b9 + 830ac2c commit b2e4e9d

2 files changed

Lines changed: 4 additions & 2 deletions

File tree

docs/installation/conda.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,8 @@ the ``autolens_workspace``, reducing the download size):
9797
.. code-block:: bash
9898
9999
cd /path/on/your/computer/you/want/to/put/the/autolens_workspace
100-
git clone https://github.com/Jammy2211/autolens_workspace --depth 1
100+
AUTOLENS_VERSION=$(python -c "import autolens; print(autolens.__version__)")
101+
git clone https://github.com/Jammy2211/autolens_workspace --branch $AUTOLENS_VERSION --depth 1
101102
cd autolens_workspace
102103
103104
Run the ``welcome.py`` script to get started!

docs/installation/pip.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,8 @@ the ``autolens_workspace``, reducing the download size):
7979
.. code-block:: bash
8080
8181
cd /path/on/your/computer/you/want/to/put/the/autolens_workspace
82-
git clone https://github.com/Jammy2211/autolens_workspace --depth 1
82+
AUTOLENS_VERSION=$(python -c "import autolens; print(autolens.__version__)")
83+
git clone https://github.com/Jammy2211/autolens_workspace --branch $AUTOLENS_VERSION --depth 1
8384
cd autolens_workspace
8485
8586
Run the ``welcome.py`` script to get started!

0 commit comments

Comments
 (0)