From ea17df16cdfb5f88cdab1ea8283f438c08fa5e31 Mon Sep 17 00:00:00 2001 From: Tanyi Chen Date: Mon, 30 Nov 2020 15:02:46 +0800 Subject: [PATCH] Mgmt-Lite: update script --- eng/mgmt/automation/generation.yml | 2 +- eng/mgmt/automation/install_instruction.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/eng/mgmt/automation/generation.yml b/eng/mgmt/automation/generation.yml index b2b3a9925616..6a3b8ddd23d7 100644 --- a/eng/mgmt/automation/generation.yml +++ b/eng/mgmt/automation/generation.yml @@ -34,7 +34,7 @@ steps: - bash: | export PATH=$JAVA_HOME_11_X64/bin:$PATH java -version - ./eng/mgmt/automation/generate.py --readme "$(README)" --tag "$(TAG)" --service "$(SERVICE)" --version "$(VERSION)" --auto-commit-external-change --user-name "azure-sdk" --user-email "azuresdk@microsoft.com" + ./eng/mgmt/automation/generate.py --readme "$(README)" --tag "$(TAG)" --service "$(SERVICE)" --version "$(VERSION)" --suffix "$(SUFFIX)" --auto-commit-external-change --user-name "azure-sdk" --user-email "azuresdk@microsoft.com" displayName: Generation - template: /eng/common/pipelines/templates/steps/create-pull-request.yml diff --git a/eng/mgmt/automation/install_instruction.py b/eng/mgmt/automation/install_instruction.py index b53eb1cd3454..6ad41d81fa43 100755 --- a/eng/mgmt/automation/install_instruction.py +++ b/eng/mgmt/automation/install_instruction.py @@ -38,7 +38,7 @@ def main(): artifact_id, artifact, ) # 1.0.0-beta.0 will not be conflict with any existing one - output = {'full': command} + output = {'full': '```sh\n{0}\n```'.format(command)} logging.debug('output: {0}'.format(json.dumps(output))) json.dump(output, fout) sys.exit(0)