eng: Add publish control into the release pipeline (#2167)

* add publish control

* use test version

* update display name

* revert the test version
This commit is contained in:
Tian L 2024-04-29 17:17:07 +08:00 committed by GitHub
parent 10df81d11c
commit e0a17f43b0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -15,6 +15,17 @@ variables:
name: '$(versionMajor).$(versionMinor).$(versionBuild).$(versionPatch)' 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: resources:
repositories: repositories:
- repository: 1esPipelines - repository: 1esPipelines
@ -83,5 +94,7 @@ extends:
signBundle: true signBundle: true
createStoreBrokerPackages: true createStoreBrokerPackages: true
- template: /build/pipelines/templates/release-store.yaml@self - ${{ if eq(parameters.publishStore, true) }}:
- template: /build/pipelines/templates/release-vpack.yaml@self - template: /build/pipelines/templates/release-store.yaml@self
- ${{ if eq(parameters.publishVPack, true) }}:
- template: /build/pipelines/templates/release-vpack.yaml@self