From 3b19735384e5c356ed620c63cbf315282af3cec2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20W=C3=A5hlin?= Date: Thu, 28 Nov 2024 09:58:05 +0100 Subject: [PATCH 1/2] Update BicepUtility.cs Parameter --documentationUri is deprecated, please use --documentation-uri instead. --- src/Resources/ResourceManager/Utilities/BicepUtility.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Resources/ResourceManager/Utilities/BicepUtility.cs b/src/Resources/ResourceManager/Utilities/BicepUtility.cs index 56584822eeff..acef48e0fef4 100644 --- a/src/Resources/ResourceManager/Utilities/BicepUtility.cs +++ b/src/Resources/ResourceManager/Utilities/BicepUtility.cs @@ -153,7 +153,7 @@ public void PublishFile(string bicepFilePath, string target, string documentatio if (!string.IsNullOrWhiteSpace(documentationUri)) { CheckMinimalVersionRequirement(MinimalVersionRequirementForBicepPublishWithOptionalDocumentationUriParameter); - bicepPublishCommand += $" --documentationUri {GetQuotedFilePath(documentationUri)}"; + bicepPublishCommand += $" --documentation-uri {GetQuotedFilePath(documentationUri)}"; } if (withSource) @@ -225,4 +225,4 @@ private string RunBicepCommand(string arguments, string minimalVersionRequiremen private static string GetQuotedFilePath(string filePath) => $"\"{filePath.Replace("\"", "\\\"")}\""; } -} \ No newline at end of file +} From 5304befbbd90e5c2a956d441e07f005605a4f915 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Simon=20W=C3=A5hlin?= Date: Tue, 7 Jan 2025 12:48:14 +0100 Subject: [PATCH 2/2] Update ChangeLog.md --- src/Resources/Resources/ChangeLog.md | 1 + 1 file changed, 1 insertion(+) diff --git a/src/Resources/Resources/ChangeLog.md b/src/Resources/Resources/ChangeLog.md index b78cde49ec13..d348dccccfdf 100644 --- a/src/Resources/Resources/ChangeLog.md +++ b/src/Resources/Resources/ChangeLog.md @@ -20,6 +20,7 @@ ## Upcoming Release * Added Diagnostics/Warnings to WhatIf/Validate results for deployments. +* Updated to use bicep parameter --documentation-uri instead of the deprecated --documentationUri ## Version 7.7.0 * Updated Resources SDK to 2024-07-01.