From bb5acdd2c1480c32a97e11d9d5d03b64cf036133 Mon Sep 17 00:00:00 2001 From: Mark Wilson <23439518+wlsnmrk@users.noreply.github.com> Date: Thu, 26 Sep 2024 11:58:14 -0400 Subject: [PATCH 1/2] chore: roll back .NET to 8, use standard renovate versioning * Restored .NET to v8 * Removed "loose" renovate versioning option to prevent updating to preview versions across all dependencies * Removed allowedVersion rules preventing preview versions for specific dependencies, which are now unnecessary --- global.json | 2 +- renovate.json | 7 ++----- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/global.json b/global.json index 5da8eeb..68c49b7 100644 --- a/global.json +++ b/global.json @@ -1,6 +1,6 @@ { "sdk": { - "version": "9.0.100-rc.1.24452.12", + "version": "8.0.402", "rollForward": "latestMinor" }, "msbuild-sdks": { diff --git a/renovate.json b/renovate.json index bf94541..bbec2e9 100644 --- a/renovate.json +++ b/renovate.json @@ -5,7 +5,6 @@ ":semanticCommits" ], "prHourlyLimit": 2, - "versioning": "loose", "packageRules": [ { "matchPackagePatterns": [ @@ -13,14 +12,12 @@ ], "groupName": "all dependencies", "groupSlug": "all-deps", - "automerge": true, - "allowedVersions": "!/preview/" + "automerge": true }, { "matchPackagePrefixes": [ "dotnet-sdk" - ], - "allowedVersions": "!/preview/" + ] }, { "matchPackagePrefixes": [ From 3fc73fd238677ff6b371844ca0014de19845189c Mon Sep 17 00:00:00 2001 From: Mark Wilson <23439518+wlsnmrk@users.noreply.github.com> Date: Thu, 26 Sep 2024 12:01:15 -0400 Subject: [PATCH 2/2] chore: migrate renovate config Updated renovate config with changes suggested by debug output: * Extends recommended config instead of base config * Uses matchPackageNames with regex instead of matchPackagePrefixes * Uses matchPackageNames intead of matchPackagePatterns --- renovate.json | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/renovate.json b/renovate.json index bbec2e9..e5664d4 100644 --- a/renovate.json +++ b/renovate.json @@ -1,34 +1,34 @@ { "$schema": "https://docs.renovatebot.com/renovate-schema.json", "extends": [ - "config:base", + "config:recommended", ":semanticCommits" ], "prHourlyLimit": 2, "packageRules": [ { - "matchPackagePatterns": [ - "*" - ], "groupName": "all dependencies", "groupSlug": "all-deps", - "automerge": true + "automerge": true, + "matchPackageNames": [ + "*" + ] }, { - "matchPackagePrefixes": [ - "dotnet-sdk" + "matchPackageNames": [ + "dotnet-sdk{/,}**" ] }, { - "matchPackagePrefixes": [ - "GodotSharp", - "Godot.NET.Sdk" + "matchPackageNames": [ + "GodotSharp{/,}**", + "Godot.NET.Sdk{/,}**" ], "allowedVersions": "/^$/" }, { - "matchPackagePrefixes": [ - "Chickensoft" + "matchPackageNames": [ + "Chickensoft{/,}**" ], "allowedVersions": "/^(\\d+\\.\\d+\\.\\d+)(-godot(\\d+\\.)+\\d+(-.*)?)?$/" }