How to update content of App Env Var?


Is there any way to update content of an environment variable we define in App Environment Variables?
My goal is to store versionCode in an environment variable, and auto increment and update the value after each build.

Hi @gokhanarik, please see our recommended approach here:

Hi @bitce, unfortunately this doesn’t answer my question. I don’t want to use Build Number as versionCode. I only want to increment versionCode if the build is from the master branch.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.

I can not think of a solution for this. With that said, you could add your repo twice and only use one project for release builds or something like that. Cheers