From 2d7a0dad2fce1a997a88be6c8846b4cebefd1478 Mon Sep 17 00:00:00 2001 From: Sergei Zharinov <zharinov@users.noreply.github.com> Date: Thu, 14 Jan 2021 11:47:42 +0400 Subject: [PATCH] fix(sbt): Ignore http4s digest-based milestone releases (#8282) --- lib/config/presets/internal/workarounds.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/lib/config/presets/internal/workarounds.ts b/lib/config/presets/internal/workarounds.ts index f09bb7a68c..04c17d2cb5 100644 --- a/lib/config/presets/internal/workarounds.ts +++ b/lib/config/presets/internal/workarounds.ts @@ -9,6 +9,7 @@ export const presets: Record<string, Preset> = { 'workarounds:mavenCommonsAncientVersion', 'workarounds:ignoreSbtLatestIntegration', 'workarounds:ignoreSpringCloudNumeric', + 'workarounds:ignoreHttp4sDigestMilestones', ], }, mavenCommonsAncientVersion: { @@ -40,4 +41,14 @@ export const presets: Record<string, Preset> = { }, ], }, + ignoreHttp4sDigestMilestones: { + description: 'Ignore http4s digest-based 1.x milestones', + packageRules: [ + { + managers: ['sbt'], + packagePatterns: ['^org\\.http4s:'], + allowedVersions: `!/^1\\.0-\\d+-[a-fA-F0-9]{7}$/`, + }, + ], + }, }; -- GitLab