Skip to content
Merged
Changes from all commits
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
13 changes: 13 additions & 0 deletions ci/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,10 @@ parameters:
displayName: "Publish"
type: boolean
default: false
- name: PublishAppinstaller
displayName: "Auto-update users to this release"
type: boolean
default: false
- name: PreTest
displayName: "Pre test"
type: boolean
Expand Down Expand Up @@ -295,6 +299,15 @@ stages:
workingDirectory: $(Pipeline.Workspace)
displayName: 'Download PuTTY binaries'

- ${{ if ne(parameters.PublishAppinstaller, 'true') }}:
- powershell: |
"Not uploading these files:"
dir "${env:UPLOAD_DIR}\*.appinstaller"
del "${env:UPLOAD_DIR}\*.appinstaller" -ErrorAction SilentlyContinue
displayName: 'Disable auto-update for this release'
env:
UPLOAD_DIR: $(DIST_DIR)

- powershell: |
# We don't want the Store MSIX on python.org, so just delete it
# It's already been archived in the earlier publish step, and is bundled
Expand Down