Skip to content

Commit

Permalink
Pass version to towncrier directly.
Browse files Browse the repository at this point in the history
  • Loading branch information
hodgestar committed Jun 29, 2022
1 parent 7a83806 commit 53f1f99
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -203,8 +203,7 @@ jobs:
# Source: https://github.com/actions/checkout/#fetch-all-branches.
git fetch --no-tags origin +refs/heads/${BASE_BRANCH}:refs/remotes/origin/${BASE_BRANCH}
towncrier check --compare-with origin/${BASE_BRANCH}
echo "version = '$(cat VERSION)'" > qutip/version.py
towncrier build --draft
towncrier build --version "$(cat VERSION)" --draft
finalise:
name: Finalise coverage reporting
Expand Down

0 comments on commit 53f1f99

Please sign in to comment.