Skip to content

Commit

Permalink
Fix stable Lightning version git pull in compat workflows (#507)
Browse files Browse the repository at this point in the history
* Force fetch tags since actions/checkout option doesn't seem to work.

* Auto update version

* Update changelog.

---------

Co-authored-by: Dev version update bot <github-actions[bot]@users.noreply.github.com>
  • Loading branch information
vincentmr and github-actions[bot] authored Sep 26, 2023
1 parent 8f744aa commit d0bf669
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 1 deletion.
1 change: 1 addition & 0 deletions .github/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@
### Breaking changes

* Add workflows validating compatibility between PennyLane and Lightning's most recent stable releases and development (latest) versions.
[(#507)](https://github.com/PennyLaneAI/pennylane-lightning/pull/507)
[(#498)](https://github.com/PennyLaneAI/pennylane-lightning/pull/498)

* Introduce `timeout-minutes` in various workflows, mainly to avoid Windows builds hanging for several hours.
Expand Down
3 changes: 3 additions & 0 deletions .github/workflows/tests_linux.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,6 +112,7 @@ jobs:
if: inputs.lightning-version == 'stable'
run: |
cd main
git fetch --tags --force
git checkout $(git tag | sort -V | tail -1)
git log -1 --format='%H'
git status
Expand Down Expand Up @@ -248,6 +249,7 @@ jobs:
if: inputs.lightning-version == 'stable'
run: |
cd main
git fetch --tags --force
git checkout $(git tag | sort -V | tail -1)
git log -1 --format='%H'
git status
Expand Down Expand Up @@ -411,6 +413,7 @@ jobs:
if: inputs.lightning-version == 'stable'
run: |
cd main
git fetch --tags --force
git checkout $(git tag | sort -V | tail -1)
git log -1 --format='%H'
git status
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/tests_without_binary.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@ jobs:
if: inputs.lightning-version == 'stable'
run: |
cd main
git fetch --tags --force
git checkout $(git tag | sort -V | tail -1)
git log -1 --format='%H'
git status
Expand Down
2 changes: 1 addition & 1 deletion pennylane_lightning/core/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -16,4 +16,4 @@
Version number (major.minor.patch[-label])
"""

__version__ = "0.33.0-dev15"
__version__ = "0.33.0-dev16"

0 comments on commit d0bf669

Please sign in to comment.