github: update deployment process for winget files

This commit is contained in:
ClementTsang 2021-05-09 20:05:02 -04:00
parent d63f169d70
commit 4b70c5edcc
2 changed files with 20 additions and 15 deletions

View File

@ -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)

View File

@ -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
- 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