Skip to content

Commit

Permalink
馃彂 Doc version fix (#500)
Browse files Browse the repository at this point in the history
## Describe your changes
Doc version fix for new release package.

## Checklist before requesting a review
- [ ] Add unit tests for this change.
- [ ] Make sure all tests can pass.
- [ ] Update documents if necessary.
- [ ] Format your code by running `pre-commit run --all-files`
- [ ] Is this a user-facing change? If yes, give a description of this
change to be included in the release notes.

## (Optional) Issue link
  • Loading branch information
trajepl authored and leqiao-1 committed Aug 21, 2023
1 parent 8499796 commit 15a6a97
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .azure_pipelines/build-doc.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,6 @@ stages:
git checkout gh-pages
git rm -rf ${{parameters.doc_version}}
mkdir ${{parameters.doc_version}}
ls -d */ | grep -E "[0-9]+\.[0-9]+\.[0-9]+" | xargs -I {} cp ./_static/js/custom_version.js {}/_static/js/
displayName: Checkout gh-pages branch
condition: ne('${{parameters.doc_version}}', 'latest')
Expand All @@ -76,6 +75,7 @@ stages:

# commit and push the docs
- script: |
ls -d */ | grep -E "[0-9]+\.[0-9]+\.[0-9]+" | xargs -I {} cp ./_static/js/custom_version.js {}_static/js/
git add -A
git commit -m "Update docs from $(Build.SourceVersion)"
git push origin gh-pages
Expand Down

0 comments on commit 15a6a97

Please sign in to comment.