Slack integration: how to expose app version and app build number?

I can’t seem to find the right environment variable from Bitrise to display the app version and app build in a Slack message sent at the end of a build (successful or not). The Bitrise build number is not relevant for the persons following the channel on Slack. Thanks for your help!

1 Like

Hi @Gabriel_Dynamo,

There’s no built in environment variable for this, but you can get these through build steps which can extract and expose these information for you.

In case of Android you should search for “Manifest” to see all the steps which can manipulate or extract the Android manifest file infos. In case of iOS the Xcode Project Information Build step should be enough.

Once you have these information as environment variables, you can simply include it in the Slack step’s Message input.

Related discussion:

1 Like