Use case:
When deploying an app, I would like to be able to pass temporary variables to the build, that are not needed after the build is complete.
An example of this, is the version number, I want to deploy a new version of the app. But because my git folder isn't uploaded, during build, I do not have access to the git tag.
However, after successful build of an app, I want to inform Sentry of this new release.
I do not want to inform sentry of this new version number, if the build fails, because that would cause incorrect information in Sentry.
Thus, I'd like to be able to do something along the lines of caprover deploy --default --buildParams={version:1.2.3}
Use case: When deploying an app, I would like to be able to pass temporary variables to the build, that are not needed after the build is complete. An example of this, is the version number, I want to deploy a new version of the app. But because my git folder isn't uploaded, during build, I do not have access to the git tag.
However, after successful build of an app, I want to inform Sentry of this new release. I do not want to inform sentry of this new version number, if the build fails, because that would cause incorrect information in Sentry.
Thus, I'd like to be able to do something along the lines of
caprover deploy --default --buildParams={version:1.2.3}