Hi everyone, does anyone know how to get the curre...
# getting-started
w
Hi everyone, does anyone know how to get the current branch name from my local repo when I am running
pulumi up
? Pulumi clearly has some capabilities here since it saves the commit hash to the service, but I can't find any leads in terms of which package that stuff might live in
(My use case is adding a check to make sure I'm deploying release branches to the associated environments)
I guess maybe I've been thinking about this wrong, I should just use whatever I have in my language natively to check it (typescript, in this case), no need for a pulumi resource