diff --git a/.github/workflows/upload-win-installer.yml b/.github/workflows/upload-win-installer.yml index df7bfb949e..c26bb2d533 100644 --- a/.github/workflows/upload-win-installer.yml +++ b/.github/workflows/upload-win-installer.yml @@ -55,6 +55,13 @@ jobs: - uses: actions/checkout@v3 with: ref: ${{steps.getversion.outputs.version}} + # This step is super-duper critical for the built/signed windows installer .exe file. + # It ensures the referenced $version github release page does NOT already contain + # this file. Windows assigns a UUID to the installer at build time, it's assumed + # by windows that one release version == one UUID (always). Breaking this assumption + # has some rather nasty side-effects in windows, such as possibly breaking 'uninstall' + # functionality. For dry-runs, the .exe is saved in the workflow artifacts for a human + # to judge w/n (i.e. in some extreme case) it should be uploaded to the release page. - name: Check id: check run: |