This PR should go in after https://github.com/microsoft/AL-Go/pull/955
This PR:
* Fixes all the issues found by the pre-commit hooks (by running
`pre-commit run --all-files`)
* Adds a check on future AL-Go PRs to ensure the pre-commit hooks have
been run.
---------
Co-authored-by: Freddy Kristiansen <freddy.kristiansen@microsoft.com>
### Issues
- ContainerName used during build was invalid if project names contained
special characters
- Issue 1009 by adding a includeDependencies property in
DeliverToAppSource
- Issue 997 'Deliver to AppSource' action fails for projects containing
a space (or any special character)
- Issue 987 Resource not accessible by integration when creating release
from specific version
- Issue 979 Publish to AppSource Documentation
### New Settings
- `deliverToAppSource`: a JSON object containing the following
properties
- **productId** must be the product Id from partner Center.
- **mainAppFolder** specifies the appFolder of the main app if you have
multiple apps in the same project.
- **continuousDelivery** can be set to true to enable continuous
delivery of every successful build to AppSource Validation. Note that
the app will only be in preview in AppSource and you will need to
manually press GO LIVE in order for the app to be promoted to
production.
- **includeDependencies** can be set to an array of file names (incl.
wildcards) which are the names of the dependencies to include in the
AppSource submission. Note that you need to set
`generateDependencyArtifact` in the project settings file to true in
order to include dependencies.
### Deprecated Settings
- `appSourceContinuousDelivery` is moved to the `deliverToAppSource`
structure
- `appSourceMainAppFolder` is moved to the `deliverToAppSource`
structure
- `appSourceProductId` is moved to the `deliverToAppSource` structure
Fixes#1009Fixes#997Fixes#987Fixes#979
---------
Co-authored-by: freddydk <freddydk@users.noreply.github.com>