dprotaso: Automated cherry pick of #104467: fix 104329: check for headless before trying to release

JobBuild
98c2f136
09-13 21:14
9791a37f
09-13 19:34
c2a9070b
09-13 18:50
104973
09-13 18:39
89d09978
09-13 18:37
pull-kubernetes-conformance-kind-ga-only-parallel 1437525163796074496 1437500054066696192 1437488923545702400 1437485634301202432
pull-kubernetes-conformance-kind-ipv6-parallel 1437525162449702912 1437500052388974592 1437488920190259200 1437485632959025152
pull-kubernetes-dependencies 1437525162248376320 1437500051776606208 1437488910866321408 1437485632749309952
pull-kubernetes-e2e-gce-100-performance 1437525162214821888 1437500051743051776 1437488910031654912 1437485632719949824
pull-kubernetes-e2e-gce-ubuntu-containerd 1437525162130935808 1437500051671748608 1437488909331206144 1437485632648646656
pull-kubernetes-e2e-kind 1437525162319679488 1437500051847909376 1437488912632123392 1437485632837390336
pull-kubernetes-e2e-kind-ipv6 1437525162965602304 1437500053227835392 1437488921863786496 1437485633462341632
pull-kubernetes-integration 1437525162286125056 1437500051810160640 1437488911700987904 1437485632787058688
pull-kubernetes-node-e2e 1437525162151907328 1437500051701108736 1437488909356371968 1437485632673812480
pull-kubernetes-typecheck 1437525162349039616 1437500051873075200 1437488915144511488 1437485632862556160
pull-kubernetes-unit 1437525164643323904 1437500054905556992 1437488924380368896 1437485635135868928
pull-kubernetes-verify 1437525162378399744 1437500051910823936 1437488917254246400 1437485632891916288
pull-kubernetes-verify-govet-levee 1437525162420342784 1437500051940184064 1437488918525120512 1437485632929665024