Use current HEAD for version in CI instead of previous commit