Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix[ci]: fix commithash calculation for pypi release (vyperlang#4309)
there is a mismatch between the commit hash in the binary of the github release vs the pypi release. for example, ```bash ~ $ vyper --version # pipx install vyper==0.4.0 0.4.0+commit.e9db8d9 ``` ```bash ~ $ .vvm/vyper-0.4.0 --version 0.4.0+commit.e9db8d9f ``` this is due to how git computes the shorthash. when checkout is run for release-pypi.yml, it doesn't fetch the full commit history, and so there are fewer commits, so `git rev-parse --short HEAD` returns a smaller fingerprint for the commit hash. this commit amends the pypi release checkout step so that it matches the github release workflow. it also adds a debug step to the relevant workflows so that we can debug the commit hash during the github action.
- Loading branch information