summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorClementTsang <cjhtsang@uwaterloo.ca>2021-05-09 20:05:02 -0400
committerClementTsang <cjhtsang@uwaterloo.ca>2021-05-09 20:05:02 -0400
commit4b70c5edcc66149e8f76e633570a00f97d540b23 (patch)
tree53c4fd2de6faf929709a33e320474c7e20db37c4
parentd63f169d703b958cd3b00a90a4f028a4a3007e7d (diff)
github: update deployment process for winget files
-rw-r--r--.github/workflows/deployment.yml6
-rw-r--r--deployment/windows/winget/winget.yaml.template29
2 files changed, 20 insertions, 15 deletions
diff --git a/.github/workflows/deployment.yml b/.github/workflows/deployment.yml
index 3a51810d..91d396c1 100644
--- a/.github/workflows/deployment.yml
+++ b/.github/workflows/deployment.yml
@@ -264,7 +264,7 @@ jobs:
- name: Build winget (Windows x86-64 MSVC)
if: matrix.triple.target == 'x86_64-pc-windows-msvc'
run: |
- python "./deployment/packager.py" ${{ env.RELEASE_VERSION }} "./deployment/windows/winget/winget.yaml.template" "${{ env.RELEASE_VERSION }}.yaml" "SHA256" "./bottom_x86_64_installer.msi"
+ python "./deployment/packager.py" ${{ env.RELEASE_VERSION }} "./deployment/windows/winget/winget.yaml.template" "Clement.bottom.yaml" "SHA256" "./bottom_x86_64_installer.msi"
- name: Upload winget file (Windows x86-64 MSVC)
if: matrix.triple.target == 'x86_64-pc-windows-msvc'
@@ -273,8 +273,8 @@ jobs:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
upload_url: ${{ env.RELEASE_UPLOAD_URL }}
- asset_path: ${{ env.RELEASE_VERSION }}.yaml
- asset_name: ${{ env.RELEASE_VERSION }}.yaml
+ asset_path: Clement.bottom.yaml
+ asset_name: Clement.bottom.yaml
asset_content_type: application/octet-stream
- name: Build Debian release (Linux x86-64 GNU)
diff --git a/deployment/windows/winget/winget.yaml.template b/deployment/windows/winget/winget.yaml.template
index 383841c3..d577505a 100644
--- a/deployment/windows/winget/winget.yaml.template
+++ b/deployment/windows/winget/winget.yaml.template
@@ -1,16 +1,21 @@
-Id: Clement.bottom
-Version: $version
-Name: bottom
+PackageIdentifier: Clement.bottom
+PackageVersion: $version
+PackageName: bottom
Publisher: Clement Tsang
License: MIT License
LicenseUrl: https://github.com/ClementTsang/bottom/blob/master/LICENSE
-AppMoniker: bottom
-Tags: tui, monitoring, terminal
-Description: Yet another cross-platform graphical process/system monitor.
-Homepage: https://github.com/ClementTsang/bottom
+Moniker: bottom
+Tags:
+- tui
+- monitoring
+- terminal
+ShortDescription: Yet another cross-platform graphical process/system monitor.
+PackageUrl: https://github.com/ClementTsang/bottom
Installers:
- - Arch: x64
- Url: https://github.com/ClementTsang/bottom/releases/download/$version/bottom_x86_64_installer.msi
- Sha256: $hash1
- InstallerType: msi
- \ No newline at end of file
+- Architecture: x64
+ InstallerUrl: https://github.com/ClementTsang/bottom/releases/download/$version/bottom_x86_64_installer.msi
+ InstallerSha256: $hash1
+ InstallerType: msi
+PackageLocale: en-US
+ManifestType: singleton
+ManifestVersion: 1.0.0 \ No newline at end of file