Exporting a output variable from a custom step

step
#1

Hello everyone. Im trying to generate an output variable from a custom bash script step that i have written, but i cannot seem to get it right…

VALUE="my step output value"
envman add --key BITRISE_CUSTOM_STEP_OUTPUT --value "${VALUE}"

If i try to access the generated variable ($BITRISE_CUSTOM_STEP_OUTPUT) from another step after that, it is just empty.

I need to do another type of configuration/code in order to get this done?

Thanks

0 Likes