dansiegel / Mobile.BuildTools

The Mobile.BuildTools makes it easier to develop code bases in a clean, consistent, secure, and configurable way. Determine at Build which environment your app needs to run on, and what Client Secrets it should have. Plus many more amazing features!
http://mobilebuildtools.com
MIT License
228 stars 29 forks source link

The default seems to be BuildTools_ instead of Secret_ #300

Closed jtorvald closed 2 years ago

jtorvald commented 2 years ago

As mentioned in this issue #272 the default in the code is BuildTools and not Secret as in Mobile Builds tools version 1.x

jtorvald commented 2 years ago

@dansiegel maybe it's good to also add Secret as an alias to BuildTools because everybody that upgrades from v1 to v2 will run into this problem I think.

dansiegel commented 2 years ago

It was changed because some agents like Azure DevOps / AppCenter Windows build agents actually prevent variables with the prefix Secret_ from being read. They also do a ToUpper() which was a major reason why the definitions were added to the config.

jtorvald commented 2 years ago

I understand. Good to know the reason behind the chance. Thanks for the explanation.