Skip to content

Commit

Permalink
Update version string in stable docs deploy CI (#1462)
Browse files Browse the repository at this point in the history
This PR replaces the buggy `git describe` command, which doesn't
register the updated version when doing a release, with the version in
`VERSION.txt`. We should test that this works by re-running the stable
docs deploy on `main` afterwards. Edit: maybe not since this would build
to `stable/0.8` right now after the version bump.
  • Loading branch information
coruscating authored Jun 6, 2024
1 parent f38b973 commit b07645f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/docs_stable.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ jobs:
run: touch docs/_build/html/.nojekyll
- name: Set current version
run: |
echo "version=$(git describe --abbrev=0 | cut -d'.' -f1,2)" >> "$GITHUB_ENV"
echo "version=$(cat qiskit_experiments/VERSION.txt | cut -d'.' -f1,2)" >> "$GITHUB_ENV"
- name: Deploy stable
uses: JamesIves/github-pages-deploy-action@v4
with:
Expand Down

0 comments on commit b07645f

Please sign in to comment.