Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fixup docs publish job #850

Merged
merged 1 commit into from
Mar 30, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions tools/deploy_documentation.sh
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,9 @@ echo "show current dir: "
pwd

CURRENT_TAG=`git describe --abbrev=0`
IFS='.'
read -ra VERSION <<< "$CURRENT_TAG"
IFS=. read -ra VERSION <<< "$CURRENT_TAG"
STABLE_VERSION=${VERSION[0]}.${VERSION[1]}
echo "Building for stable version $STABLE_VERSION"

# Push to qiskit.org/ecosystem
openssl aes-256-cbc -K $encrypted_rclone_key -iv $encrypted_rclone_iv -in tools/rclone.conf.enc -out $RCLONE_CONFIG_PATH -d
Expand Down
2 changes: 1 addition & 1 deletion tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ changedir = {toxinidir}/docs
commands =
python -m ipykernel install --user
jupyter kernelspec list
sphinx-build -W -b html source build/html {posargs}
sphinx-build -W -d {toxinidir}/docs/build/.doctrees -b html source build/html {posargs}

[testenv:black]
basepython = python3
Expand Down