In the slack integration I would like to send my app version and build number as well. For that, I will need a variable which gives me these values. Can you please provide a way to get these variables? Thanks
There are steps which you can use for exposing project infos as env vars for other steps. Search for “Xcode project info” for example.
Also related:
For this step - is there a way to get the value which was set in the current info.plist in the git repo? Basically we want to use the version number set manually by us in the project. But want to avoid changing it everytime on bitrise as well. So would be handy if after a git clone, we could get an environment variable that exposes the version number in the project.
[image]
Would be handy to add it in the git tag step, etc as well.
As well as:
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 inpu…
2 Likes
Thanks. This helped me in 2022.
1 Like