diff options
author | Clement Tsang <34804052+ClementTsang@users.noreply.github.com> | 2021-07-21 19:02:00 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-07-21 22:02:00 -0400 |
commit | 8aa1303b3ccaee3f42a9ca339e4f8ae1aee5613c (patch) | |
tree | 7f401bd31826000cababdcf82b58cd8c3f8d90dd /.github/workflows/deployment.yml | |
parent | bcbdc15b51a2428b838e11a852096df57ccf8827 (diff) |
ci: update winget template + deploy for more info (#554)
Adds a `ProductCode`, `Scope`, and `Commands` field to the template, as well as additional changes to the deploy process to determine + fill in the `ProductCode` automatically.
Diffstat (limited to '.github/workflows/deployment.yml')
-rw-r--r-- | .github/workflows/deployment.yml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml index a5d10909..98726cce 100644 --- a/.github/workflows/deployment.yml +++ b/.github/workflows/deployment.yml @@ -267,6 +267,8 @@ jobs: if: matrix.triple.target == 'x86_64-pc-windows-msvc' run: | python "./deployment/packager.py" ${{ env.RELEASE_VERSION }} "./deployment/windows/winget/winget.yaml.template" "Clement.bottom.yaml" "SHA256" "./bottom_x86_64_installer.msi" + $Code = powershell ./deployment/windows/winget/get_product_code.ps1 ./bottom_x86_64_installer.msi + python "./deployment/windows/winget/product_code.py" Clement.bottom.yaml $Code - name: Upload winget file (Windows x86-64 MSVC) if: matrix.triple.target == 'x86_64-pc-windows-msvc' |