Is there any update on this? It's quite old and it would be great to have this. AWS codepipeline does it. Sourcing a bash file keeps the variable in memory for future steps too. It's also useful for ROS pipelines