posix4e / puppet

MIT License
8 stars 8 forks source link

BuildConifg (release, debug) for UUID and SERVER_URL #41

Closed vkolgi closed 1 year ago

vkolgi commented 1 year ago

This embeds debug and release UUID and SERVER_URL as part of the build process. The UUID and SERVER_URL are read from System Environment variable, falling back to empty string if not configured. From github actions, following environment variables are fetched.

Once we introduce staging environment, it makes sense to separate out the github workflows which refer different environments in github action.

As shows in the GIF, by default the app will now have SERVER_URL and UUID set in the settings. Overriding that will save it back to preferences.

BuildType