From e0a17f43b0883889cf7db1946a8359eb91cd4743 Mon Sep 17 00:00:00 2001 From: Tian L <60599517+tian-lt@users.noreply.github.com> Date: Mon, 29 Apr 2024 17:17:07 +0800 Subject: [PATCH] eng: Add publish control into the release pipeline (#2167) * add publish control * use test version * update display name * revert the test version --- build/pipelines/azure-pipelines.release.yaml | 17 +++++++++++++++-- 1 file changed, 15 insertions(+), 2 deletions(-) diff --git a/build/pipelines/azure-pipelines.release.yaml b/build/pipelines/azure-pipelines.release.yaml index 4c8a3f11..787d7a90 100644 --- a/build/pipelines/azure-pipelines.release.yaml +++ b/build/pipelines/azure-pipelines.release.yaml @@ -15,6 +15,17 @@ variables: name: '$(versionMajor).$(versionMinor).$(versionBuild).$(versionPatch)' +parameters: +- name: publishStore + displayName: Publish and flight the package on Store + type: boolean + default: true + +- name: publishVPack + displayName: Publish as undocked inbox app via VPack + type: boolean + default: true + resources: repositories: - repository: 1esPipelines @@ -83,5 +94,7 @@ extends: signBundle: true createStoreBrokerPackages: true - - template: /build/pipelines/templates/release-store.yaml@self - - template: /build/pipelines/templates/release-vpack.yaml@self + - ${{ if eq(parameters.publishStore, true) }}: + - template: /build/pipelines/templates/release-store.yaml@self + - ${{ if eq(parameters.publishVPack, true) }}: + - template: /build/pipelines/templates/release-vpack.yaml@self