diff --git a/.github/workflows/release-pypi.yml b/.github/workflows/release-pypi.yml index d09aeb9adc..4d824906b8 100644 --- a/.github/workflows/release-pypi.yml +++ b/.github/workflows/release-pypi.yml @@ -20,6 +20,10 @@ jobs: steps: - uses: actions/checkout@v4 + with: + # fetch unshallow so commit hash matches github release. + # see https://github.com/vyperlang/vyper/blob/8f9a8cac49aafb3fbc9dde78f0f6125c390c32f0/.github/workflows/build.yml#L27-L32 + fetch-depth: 0 - name: Python uses: actions/setup-python@v5