From f19cd78c14c6e47b6233fa95eee02a2011185bb4 Mon Sep 17 00:00:00 2001 From: krishna vatsavai Date: Sat, 10 Aug 2024 09:58:31 +1200 Subject: [PATCH 1/2] breaking changes in version 6 of the extension renamed input verbosity to logLevel renamed verbosity value detailed to debug renamed verbosity value normal to info removed verbosity value off (see new supported values for replacement) renamed input actionOnMissing to missingVarLog renamed actionOnMissing value continue to off renamed actionOnMissing value fail to error replaced keepToken with missingVarAction with value keep --- tools/azdo_pipelines/run-publisher-with-env.yaml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/tools/azdo_pipelines/run-publisher-with-env.yaml b/tools/azdo_pipelines/run-publisher-with-env.yaml index b188d4af..f34785b8 100644 --- a/tools/azdo_pipelines/run-publisher-with-env.yaml +++ b/tools/azdo_pipelines/run-publisher-with-env.yaml @@ -65,15 +65,15 @@ steps: # replacetokens@3 task will need to be installed to use - ${{ if ne(parameters.CONFIGURATION_YAML_PATH, '') }}: - - task: qetza.replacetokens.replacetokens-task.replacetokens@3 + - task: qetza.replacetokens.replacetokens-task.replacetokens@6 displayName: "Perform namevalue secret substitution in ${{ parameters.CONFIGURATION_YAML_PATH }}" inputs: targetFiles: ${{ parameters.CONFIGURATION_YAML_PATH }} encoding: "auto" writeBOM: true - verbosity: "off" - actionOnMissing: "warn" - keepToken: false + logLevel: "warn" + missingVarLog: "warn" + missingVarAction : none tokenPrefix: "{#" tokenSuffix: "#}" From 82e18111c915a8bebc2ced7ae9f479ae633e0407 Mon Sep 17 00:00:00 2001 From: krishna vatsavai Date: Sat, 10 Aug 2024 12:21:13 +1200 Subject: [PATCH 2/2] updated comments --- tools/azdo_pipelines/run-publisher-with-env.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/azdo_pipelines/run-publisher-with-env.yaml b/tools/azdo_pipelines/run-publisher-with-env.yaml index f34785b8..0c1992ab 100644 --- a/tools/azdo_pipelines/run-publisher-with-env.yaml +++ b/tools/azdo_pipelines/run-publisher-with-env.yaml @@ -63,7 +63,7 @@ steps: addSpnToEnvironment: true failOnStandardError: true - # replacetokens@3 task will need to be installed to use + # replacetokens@6 task will need to be installed to use - ${{ if ne(parameters.CONFIGURATION_YAML_PATH, '') }}: - task: qetza.replacetokens.replacetokens-task.replacetokens@6 displayName: "Perform namevalue secret substitution in ${{ parameters.CONFIGURATION_YAML_PATH }}"