File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,10 @@ parameters:
1515 displayName : " Publish"
1616 type : boolean
1717 default : false
18+ - name : PublishAppinstaller
19+ displayName : " Auto-update users to this release"
20+ type : boolean
21+ default : false
1822- name : PreTest
1923 displayName : " Pre test"
2024 type : boolean
@@ -295,6 +299,15 @@ stages:
295299 workingDirectory: $(Pipeline.Workspace)
296300 displayName: 'Download PuTTY binaries'
297301
302+ - ${{ if ne(parameters.PublishAppinstaller, 'true') }} :
303+ - powershell : |
304+ "Not uploading these files:"
305+ dir "${env:UPLOAD_DIR}\*.appinstaller"
306+ del "${env:UPLOAD_DIR}\*.appinstaller" -ErrorAction SilentlyContinue
307+ displayName: 'Disable auto-update for this release'
308+ env:
309+ UPLOAD_DIR: $(DIST_DIR)
310+
298311 - powershell : |
299312 # We don't want the Store MSIX on python.org, so just delete it
300313 # It's already been archived in the earlier publish step, and is bundled
You can’t perform that action at this time.
0 commit comments