Expose app icon url as an environment variable in workflow

Description of the feature request

It would be convenient to have url of the app icon exposed as an environment variable e.g. as APP_ICON_URL.

Use case / for what or how I would use it

For instance in Slack step or any other notification channel.

Thanks for the #feature-request! Don’t forget to vote for it :slight_smile:

This would indeed be perfect in the Slack step!
Actually, it could even be a default parameter already set as true within the Slack step itself, this way we could just update the step version… et voilà!

This is how I do it now in script step:

AVATAR=`curl -X GET "https://api.bitrise.io/v0.1/apps/$BITRISE_APP_SLUG" -H "accept: application/json" -H "Authorization: $BITRISE_ACCESS_TOKEN" | jq -r .data.avatar_url`
envman add --key AVATAR_URL --value ${AVATAR}
1 Like