From df9e2e0258b75d2e9a90e36c15bb580b8350bc1a Mon Sep 17 00:00:00 2001 From: Jon Anderson Date: Fri, 2 Sep 2022 14:41:05 -0700 Subject: [PATCH] Ensure BUILDEVENTS_SPAN_ID (#73) Ensures the BUILDEVENTS_SPAN_ID environment variable is set to the appropriate value by using double quotes rather than waiting for evaluation later and leaving it unset. --- orb.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/orb.yml b/orb.yml index ba714d9..fa55184 100644 --- a/orb.yml +++ b/orb.yml @@ -139,7 +139,7 @@ commands: # in case this is a bash env, be kind and export the buildevents path and span ID # this orb won't rely on them but consumers of the orb might find it useful # this way steps that are run within a span can use the raw buildevents if desired - echo 'export BUILDEVENTS_SPAN_ID=$BUILDEVENTS_SPAN_ID' >> $BASH_ENV + echo "export BUILDEVENTS_SPAN_ID=$BUILDEVENTS_SPAN_ID" >> $BASH_ENV if uname -a | grep Linux | grep x86_64 > /dev/null 2>&1 ; then echo 'export PATH=$PATH:/tmp/buildevents/be/bin-linux:/tmp/be/bin-linux' >> $BASH_ENV elif uname -a | grep Linux | grep -e arm64 -e aarch64 > /dev/null 2>&1 ; then