Skip to content

Commit b6df04c

Browse files
authored
fix: doc/source/how-to/releasing.rst: fix variables (#442)
* doc/source/how-to/releasing.rst: use double quotes for variable expansion * doc/source/how-to/releasing.rst: fix powershell nested variable * [skip pre-commit.ci]
1 parent 5083665 commit b6df04c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

doc/source/how-to/releasing.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -474,14 +474,14 @@ You can download artifacts from the Ansys private PyPI, public PyPI, and GitHub.
474474

475475
.. code-block:: powershell
476476
477-
$env:INDEX_URL='https://$PYANSYS_PYPI_PRIVATE_READ_PAT@pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/simple/'
477+
$env:INDEX_URL="https://$env:PYANSYS_PYPI_PRIVATE_READ_PAT@pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/simple/"
478478
python -m pip install ansys-<product/tool>-<library> --index-url $env:INDEX_URL --no-dependencies
479479
480480
.. tab-item:: macOS
481481

482482
.. code-block:: text
483483
484-
export INDEX_URL='https://$PYANSYS_PYPI_PRIVATE_READ_PAT@pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/simple/'
484+
export INDEX_URL="https://$PYANSYS_PYPI_PRIVATE_READ_PAT@pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/simple/"
485485
486486
python -m pip install ansys-<product/tool>-<library> \
487487
--index-url $INDEX_URL \
@@ -491,7 +491,7 @@ You can download artifacts from the Ansys private PyPI, public PyPI, and GitHub.
491491

492492
.. code-block:: text
493493
494-
export INDEX_URL='https://$PYANSYS_PYPI_PRIVATE_READ_PAT@pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/simple/'
494+
export INDEX_URL="https://$PYANSYS_PYPI_PRIVATE_READ_PAT@pkgs.dev.azure.com/pyansys/_packaging/pyansys/pypi/simple/"
495495
496496
python -m pip install ansys-<product/tool>-<library> \
497497
--index-url $INDEX_URL \

0 commit comments

Comments
 (0)