From 78ef7c0d31bd724bdc8a9eed91eeb2e767eb94d1 Mon Sep 17 00:00:00 2001 From: aholstrup1 Date: Fri, 12 May 2023 10:25:43 +0000 Subject: [PATCH] Updated AL-Go System Files --- .github/RELEASENOTES.copy.md | 12 +++++++++++- .../.AL-Go/localDevEnv.ps1 | 4 ++-- Projects/System Application/.AL-Go/localDevEnv.ps1 | 4 ++-- Projects/Test Framework/.AL-Go/localDevEnv.ps1 | 4 ++-- Projects/Test Stability Tools/.AL-Go/localDevEnv.ps1 | 4 ++-- 5 files changed, 19 insertions(+), 9 deletions(-) diff --git a/.github/RELEASENOTES.copy.md b/.github/RELEASENOTES.copy.md index 7e687563d5..1cc5ba920b 100644 --- a/.github/RELEASENOTES.copy.md +++ b/.github/RELEASENOTES.copy.md @@ -2,12 +2,22 @@ Note that when using the preview version of AL-Go for GitHub, you need to Update your AL-Go system files, as soon as possible when told to do so. +### Issues +Issue #446 Wrong NewLine character in Release Notes +Issue #453 DeliverToStorage - override fails reading secrets +Issue #434 Use gh auth token to get authentication token instead of gh auth status +Issue #501 The Create New App action will now use 22.0.0.0 as default application reference and include NoImplicitwith feature. ### New Settings -New Project Setting: `UseCompilerFolder`. Setting useCompilerFolder to true causes your pipelines to use containerless compiling. Unless you also set `doNotPublishApps` to true, setting useCompilerFolder to true won't give you any performance advantage, since AL-Go for GitHub will still need to create a container in order to publish and test the apps. In the future, publishing and testing will be split from building and there will be other options for getting an instance of Business Central for publishing and testing. +- `UseCompilerFolder`: Setting useCompilerFolder to true causes your pipelines to use containerless compiling. Unless you also set `doNotPublishApps` to true, setting useCompilerFolder to true won't give you any performance advantage, since AL-Go for GitHub will still need to create a container in order to publish and test the apps. In the future, publishing and testing will be split from building and there will be other options for getting an instance of Business Central for publishing and testing. +- `vsixFile`: vsixFile should be a direct download URL to the version of the AL Language extension you want to use for building the project or repo. By default, AL-Go will use the AL Language extension that comes with the Business Central Artifacts. ### New Actions - **DetermineArtifactUrl** is used to determine which artifacts to use for building a project in CI/CD, PullRequestHandler, Current, NextMinor and NextMajor workflows. +### License File +With the changes to the CRONUS license in Business Central version 22, that license can in most cases be used as a developer license for AppSource Apps and it is no longer mandatory to specify a license file in AppSource App repositories. +Obviously, if you build and test your app for Business Central versions prior to 21, it will fail if you don't specify a licenseFileUrl secret. + ## v3.0 ### **NOTE:** When upgrading to this version diff --git a/Projects/System Application Modules/.AL-Go/localDevEnv.ps1 b/Projects/System Application Modules/.AL-Go/localDevEnv.ps1 index 0e804e9c75..1d1386e6ae 100644 --- a/Projects/System Application Modules/.AL-Go/localDevEnv.ps1 +++ b/Projects/System Application Modules/.AL-Go/localDevEnv.ps1 @@ -102,8 +102,8 @@ if (-not $credential) { if (-not $licenseFileUrl) { if ($settings.type -eq "AppSource App") { - $description = "When developing AppSource Apps, your local development environment needs the developer licensefile with permissions to your AppSource app object IDs" - $default = "" + $description = "When developing AppSource Apps for Business Central versions prior to 22, your local development environment needs the developer licensefile with permissions to your AppSource app object IDs" + $default = "none" } else { $description = "When developing PTEs, you can optionally specify a developer licensefile with permissions to object IDs of your dependant apps" diff --git a/Projects/System Application/.AL-Go/localDevEnv.ps1 b/Projects/System Application/.AL-Go/localDevEnv.ps1 index 0e804e9c75..1d1386e6ae 100644 --- a/Projects/System Application/.AL-Go/localDevEnv.ps1 +++ b/Projects/System Application/.AL-Go/localDevEnv.ps1 @@ -102,8 +102,8 @@ if (-not $credential) { if (-not $licenseFileUrl) { if ($settings.type -eq "AppSource App") { - $description = "When developing AppSource Apps, your local development environment needs the developer licensefile with permissions to your AppSource app object IDs" - $default = "" + $description = "When developing AppSource Apps for Business Central versions prior to 22, your local development environment needs the developer licensefile with permissions to your AppSource app object IDs" + $default = "none" } else { $description = "When developing PTEs, you can optionally specify a developer licensefile with permissions to object IDs of your dependant apps" diff --git a/Projects/Test Framework/.AL-Go/localDevEnv.ps1 b/Projects/Test Framework/.AL-Go/localDevEnv.ps1 index 0e804e9c75..1d1386e6ae 100644 --- a/Projects/Test Framework/.AL-Go/localDevEnv.ps1 +++ b/Projects/Test Framework/.AL-Go/localDevEnv.ps1 @@ -102,8 +102,8 @@ if (-not $credential) { if (-not $licenseFileUrl) { if ($settings.type -eq "AppSource App") { - $description = "When developing AppSource Apps, your local development environment needs the developer licensefile with permissions to your AppSource app object IDs" - $default = "" + $description = "When developing AppSource Apps for Business Central versions prior to 22, your local development environment needs the developer licensefile with permissions to your AppSource app object IDs" + $default = "none" } else { $description = "When developing PTEs, you can optionally specify a developer licensefile with permissions to object IDs of your dependant apps" diff --git a/Projects/Test Stability Tools/.AL-Go/localDevEnv.ps1 b/Projects/Test Stability Tools/.AL-Go/localDevEnv.ps1 index 0e804e9c75..1d1386e6ae 100644 --- a/Projects/Test Stability Tools/.AL-Go/localDevEnv.ps1 +++ b/Projects/Test Stability Tools/.AL-Go/localDevEnv.ps1 @@ -102,8 +102,8 @@ if (-not $credential) { if (-not $licenseFileUrl) { if ($settings.type -eq "AppSource App") { - $description = "When developing AppSource Apps, your local development environment needs the developer licensefile with permissions to your AppSource app object IDs" - $default = "" + $description = "When developing AppSource Apps for Business Central versions prior to 22, your local development environment needs the developer licensefile with permissions to your AppSource app object IDs" + $default = "none" } else { $description = "When developing PTEs, you can optionally specify a developer licensefile with permissions to object IDs of your dependant apps"