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
Vergen has somewhat annoying behavior in that when _not_ running in a git repo, it sets all git-generated env vars to VERGEN_IDEMPOTENT_VALUE to prevent compile-time panics in apps that use `env!`
So the only way to get around that is to insist that it fails when a git repo can't be found, catch the error, and then manually set the values such that they'll be correct if present in the docker build environment, otherwise they'll fall back to "unknown".
GitOrigin-RevId: d2b5967e0be039d808f9440c744f25e05fd00509
0 commit comments