Skip to content

Commit

Permalink
Update release.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
Thomas-Rowlands authored Dec 9, 2024
1 parent 9278c6f commit f7f686a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ jobs:
- name: Check package version matches tag
run: |
pkgver=$(poetry run python -c "import autocorpus; print(autocorpus.__version__, end='')")
# NB: tag name must be prefixed by "v" (the default for GitHub Releases)
test v$pkgver = ${{ github.ref_name }}
# Build package with Poetry
- name: Build package
Expand Down

0 comments on commit f7f686a

Please sign in to comment.