ERN_GITHUB_TOKENenvironment variable must be set. This is a
Personal Access Token, generated from GitHub, having read/write access to the different repositories.
github.combut your own GitHub enterprise server, the API url should be set in cauldron
baseUrl. If your repositories are in
github.com, nothing needs to be done.
githubcommands can be used to automate some advanced custom development/release workflows when working with MiniApps / JS API Implementations that are handled as GitHub urls in the Cauldron rather than npm published versions.
MyAwesomeApp Androidyou might use dummy version
1000.0.0in your Cauldron, with all MiniApps tracking the
masterbranch. Then to regenerate a new development Container, you would invoke ern cauldron regen-container container, which would pull the latest from the
masterbranches, generate and publish a new Container and update the
SHAsin the Cauldron.
1000.0.0, this would result in the following entry in the Cauldron (excluding some data):
code-freeze, where release branches are cut for all MiniApps. For example, assuming you are preparing release of version
1.0.0of your mobile application, what could be done is the following :
1.0.0, by just using ern cauldron regen-container command for
1.0.0. As long as MiniApp developers are pushing post code freeze bug fixes to the
release-1.0.0of the MiniApps branches. Developers can continue pushing changes to their main branch to continue generating development Containers for the next release.
1.0.0is released to the store) you might want to create tags in the MiniApps repositories, to exactly know what was shipped for each MiniApps.