Skip to content

feat(icp-cli): allow GIT_SHA to be overridden#533

Merged
viviveevee merged 1 commit intodfinity:mainfrom
ninegua:paulliu/git-sha-env
Apr 27, 2026
Merged

feat(icp-cli): allow GIT_SHA to be overridden#533
viviveevee merged 1 commit intodfinity:mainfrom
ninegua:paulliu/git-sha-env

Conversation

@ninegua
Copy link
Copy Markdown
Contributor

@ninegua ninegua commented Apr 26, 2026

Do not call define_git_sha if GIT_SHA already exists in environment.

This can be used to avoid invoking git at compile time, which is handy when the source is not a git repo.

@ninegua ninegua requested a review from a team as a code owner April 26, 2026 02:09
@viviveevee viviveevee merged commit 44f4905 into dfinity:main Apr 27, 2026
151 of 153 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants