8000 Improve the Windows release build scripts by zooba · Pull Request #30771 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Improve the Windows release build scripts #30771

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 7 commits into from
Jan 22, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Next Next commit
Improve parameter setting for release builds
  • Loading branch information
zooba committed Jan 21, 2022
commit ee3917e09119425a19bc2e926ae8458e2a4af0d4
78 changes: 64 additions & 14 deletions .azure-pipelines/windows-release.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,72 @@
name: Release_$(Build.SourceBranchName)_$(SourceTag)_$(Date:yyyyMMdd)$(Rev:.rr)

parameters:
- name: GitRemote
displayName: "Git remote"
type: string
default: python
- name: SourceTag
displayName: "Git tag"
type: string
default: ''
- name: DoPublish
displayName: "Publish release"
type: boolean
default: false
- name: SigningCertificate
displayName: "Code signing certificate"
type: string
default: 'Python Software Foundation'
- name: SigningDescription
displayName: "Signature description"
type: string
default: 'Built: $(Build.BuildNumber)'
- name: DoPGO
displayName: "Run PGO"
type: boolean
default: true
- name: DoLayout
displayName: "Produce full layout artifact"
type: boolean
default: true
- name: DoMSIX
displayName: "Produce Store packages"
type: boolean
default: true
- name: DoNuget
displayName: "Produce Nuget packages"
type: boolean
default: true
- name: DoEmbed
displayName: "Produce embeddable package"
type: boolean
default: true
- name: DoMSI
displayName: "Produce traditional installer"
type: boolean
default: true
- name: BuildToPublish
displayName: "Build number to publish"
type: string
default: ''

variables:
__RealSigningCertificate: 'Python Software Foundation'
GitRemote: ${{ parameters.GitRemote }}
SourceTag: ${{ paremeters.SourceTag }}
DoPGO: ${{ parameters.DoPGO }}
SigningCertificate: ${{ parameters.SigningCertificate }}
SigningDescription: ${{ parameters.SigningDescription }}
DoLayout: ${{ parameters.DoLayout }}
DoMSIX: ${{ parameters.DoMSIX }}
DoNuget: ${{ parameters.DoNuget }}
DoEmbed: ${{ parameters.DoEmbed }}
DoMSI: ${{ parameters.DoMSI }}
DoPublish: ${{ parameters.DoPublish }}
BuildToPublish: ${{ parameters.BuildToPublish }}
# QUEUE TIME VARIABLES
# GitRemote: python
# SourceTag:
# DoPGO: true
# SigningCertificate: 'Python Software Foundation'
# SigningDescription: 'Built: $(Build.BuildNumber)'
# DoLayout: true
# DoMSIX: true
# DoNuget: true
# DoEmbed: true
# DoMSI: true
# DoPublish: false
# PyDotOrgUsername: ''
# PyDotOrgServer: ''
# BuildToPublish: ''
# PyDotOrgUsername: ''
# PyDotOrgServer: ''

trigger: none
pr: none
Expand Down
0