Hi,

I would like to be able to extract the VCS branch name used during build.
Currently I append "-X main.BranchName=${BRANCH}" to the build line which 
works, but I was hoping there might be a cunning way to extract this from 
runtime/debug?

Thanks,

-Steve

-- 
You received this message because you are subscribed to the Google Groups 
"golang-nuts" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to golang-nuts+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/golang-nuts/6f0a10e1-f818-4b98-8384-3fe925ec69dcn%40googlegroups.com.

Reply via email to