You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Here, versionCommitHash is the commit SHA found inside the release manifest (releases/<>/foo-21.yml), which is the commit that the final release was built on.
Right below, we make a commit with all the final release artifacts.
After that, we tag the repository...but we do so using versionCommitHash instead of commit.
The text was updated successfully, but these errors were encountered:
Hi – if I understand correctly, what you're describing is expected behavior of this resource – it intentionally tags from the commit_hash of the manifest, not the commit which is made. From the Caveats section of the readme:
This tags the commit from which the release tarball was created (commit_hash), not the commit which finalizes the release in the releases directory. This is primarily to ensure git tags match commit_hash and refer to the underlying source where changes between versions occur (as opposed to when it was finalized which may have a different set of files).
This behavior hasn't changed since the resource was first released. Are you seeing a particular problem with this approach, or is it just a surprise / unset expectations? Happy to chat more.
Hello,
There is some code here:
Here,
versionCommitHash
is the commit SHA found inside the release manifest (releases/<>/foo-21.yml
), which is the commit that the final release was built on.Right below, we make a commit with all the final release artifacts.
After that, we tag the repository...but we do so using
versionCommitHash
instead ofcommit
.The text was updated successfully, but these errors were encountered: