Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions .github/AL-Go-Settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,6 @@
"excludeEnvironments": [
"Official-Build"
],
"buildModes": [
"Translated"
],
"CICDPushBranches": [],
"CICDSchedule": "0 2 * * *",
"CICDPullRequestBranches": [
Expand Down
13 changes: 6 additions & 7 deletions Build/Scripts/GuardingV2ExtensionsHelper.psm1
Original file line number Diff line number Diff line change
Expand Up @@ -175,15 +175,14 @@ function Update-AppSourceCopVersion

$appSourceCopJsonPath = Join-Path $AppProjectFolder AppSourceCop.json

if (!(Test-Path $appSourceCopJsonPath)) {
Write-Host "Creating AppSourceCop.json with version $BaselineVersion in path $appSourceCopJsonPath" -ForegroundColor Yellow
New-Item $appSourceCopJsonPath -type file
$appSourceJson = @{version = '' }
}
else {
$appSourceJson = Get-Content $appSourceCopJsonPath -Raw | ConvertFrom-Json
if ((Test-Path $appSourceCopJsonPath)) {
Remove-Item -Path $appSourceCopJsonPath -Force
}

Write-Host "Creating AppSourceCop.json with version $BaselineVersion in path $appSourceCopJsonPath" -ForegroundColor Yellow
New-Item $appSourceCopJsonPath -type file
$appSourceJson = @{version = '' }

Write-Host "Setting 'version:$BaselineVersion' in AppSourceCop.json" -ForegroundColor Yellow
$appSourceJson["version"] = $BaselineVersion

Expand Down
Loading