Skip to content

Commit

Permalink
Do not publish to BAR when RTM version is built
Browse files Browse the repository at this point in the history
  • Loading branch information
nohwnd committed Aug 30, 2024
1 parent d824a2f commit aa62848
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion azure-pipelines-official.yml
Original file line number Diff line number Diff line change
Expand Up @@ -80,10 +80,17 @@ variables:
# even when we don't use matrix.
- name: _BuildConfig
value: Release
- name: _PublishUsingPipelines
value: true

- ${{ if eq(parameters.isRTM, True) }}:
- name: _ReleaseVersionKind
value: release
# do not publish final version to internal feeds, because there we want to have versions that
# end with -release or -preview, but not versions without any suffix, because we cannot release
# multiple of those versions.
- name: _PublishUsingPipelines
value: false

# Group gives access to $microsoft-symbol-server-pat and $symweb-symbol-server-pat
- group: DotNet-Symbol-Server-Pats
Expand All @@ -105,7 +112,7 @@ variables:
value: /p:DotNetSignType=$(_SignType)
/p:TeamName=$(_TeamName)
/p:DotNetFinalVersionKind=$(_ReleaseVersionKind)
/p:DotNetPublishUsingPipelines=true
/p:DotNetPublishUsingPipelines=$(_PublishUsingPipelines)
/p:DotNetSymbolServerTokenMsdl=$(microsoft-symbol-server-pat)
/p:DotNetSymbolServerTokenSymWeb=$(symweb-symbol-server-pat)
/p:OfficialBuildId=$(BUILD.BUILDNUMBER)
Expand Down

0 comments on commit aa62848

Please sign in to comment.