Skip to content

Commit fa38d4d

Browse files
Merge pull request #2366 from VWS-Python/rm-git-fetch
Simplify release script by removing unnecessary git fetch tags command
2 parents a2b9b60 + af6cfb7 commit fa38d4d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/release.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
run: |
8080
# Checkout the latest tag - the one we just created.
8181
git fetch --tags
82-
git checkout "$(git describe --tags "$(git rev-list --tags --max-count=1)")"
82+
git checkout ${{ steps.tag_version.outputs.new_tag }}
8383
python -m pip install build check-wheel-contents
8484
python -m build --sdist --wheel --outdir dist/ .
8585
check-wheel-contents dist/*.whl

0 commit comments

Comments
 (0)