Skip to content

Add git-sha to rule variables, add test for the variable.#14810

Open
toots wants to merge 1 commit into
ocaml:mainfrom
toots:git-sha
Open

Add git-sha to rule variables, add test for the variable.#14810
toots wants to merge 1 commit into
ocaml:mainfrom
toots:git-sha

Conversation

@toots
Copy link
Copy Markdown
Contributor

@toots toots commented May 31, 2026

This follows the discussion at: #14723

My suggestion is that since this value is used to track the exact commit being used for builds, CI run etc, it's better to be specific about what it is, i.e. a git commit SHA rather than wrapping it up in any higher level semantics i.e. vcs-commit-id etc. so that the user knows exactly what they're dealing with and can use it with confidence.

Signed-off-by: Romain Beauxis <romain.beauxis@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant