You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I am wanting to set an environment variable in Fastlane, and pass it back to a calling Bash script.
Just as a simple example, I run this Bash script:
#!/bin/sh
fastlane beta
echo $DELIVER_USER
Somewhere in my lane code I have:
sh(command: 'export DELIVER_USER=joe')
But the echo in the calling script does not show "joe", it doesn't show anything. Is there a way that I can do this? Or some other way to be able to pass a value from Fastlane back to the calling Bash script?
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
I am wanting to set an environment variable in Fastlane, and pass it back to a calling Bash script.
Just as a simple example, I run this Bash script:
Somewhere in my lane code I have:
But the
echo
in the calling script does not show "joe", it doesn't show anything. Is there a way that I can do this? Or some other way to be able to pass a value from Fastlane back to the calling Bash script?Beta Was this translation helpful? Give feedback.
All reactions