diff --git a/ci/release.yml b/ci/release.yml index 1542c62..7fd743e 100644 --- a/ci/release.yml +++ b/ci/release.yml @@ -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 @@ -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