paulpacifico / shutter-encoder

A professional video compression tool accessible to all, mostly based on FFmpeg.
https://www.shutterencoder.com
GNU General Public License v3.0
1.06k stars 60 forks source link

Publish shutter-encoder builds to winget-pkgs + auto winget-releaser GA #244

Open jo-chemla opened 1 week ago

jo-chemla commented 1 week ago

To streamline installation of shutter-encoder, it could be useful to have:

Winget package name

Initial publishing on winget-pkgs can be done via a utility like Komac. You would need to determine:

That initial publishing can be done by either you or any community member.

Automated Github action workflow to push new package on github release

In order to simplify the process of pushing new releases automatically to winget-pkgs, adding a github action on this repo could be useful so that the winget shutter-encoder package gets updated on every github release.

Here is a reference article based on Winget-Releaser@v2 Github Action

There is no need for code signing mentioned in this issue; https://github.com/paulpacifico/shutter-encoder/issues/101

Below is an action yml files made to keep the winget package up-to-date on every github release, via Github Actions.

name: Publish to WinGet
on:
  release:
    types: [ released ]
jobs:
  publish:
    runs-on: windows-latest
    steps:
      - uses: vedantmgoyal9/winget-releaser@v2
        with:
          identifier: paulpacifico.shutter-encoder
          token: ${{ secrets.WINGET_TOKEN }}
          installers-regex: '\-windows\-\w*\.zip$' 

Requires: