Skip to content

Commit a1c87b5

Browse files
committed
Simplify release script by removing unnecessary git fetch tags command
1 parent a2b9b60 commit a1c87b5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,8 +78,7 @@ jobs:
7878
- name: Build a binary wheel and a source tarball
7979
run: |
8080
# Checkout the latest tag - the one we just created.
81-
git fetch --tags
82-
git checkout "$(git describe --tags "$(git rev-list --tags --max-count=1)")"
81+
git checkout ${{ steps.tag_version.outputs.new_tag }}
8382
python -m pip install build check-wheel-contents
8483
python -m build --sdist --wheel --outdir dist/ .
8584
check-wheel-contents dist/*.whl

0 commit comments

Comments
 (0)