Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Add winget-releaser github action for auto new releases to `CapSoftware.Cap`

オープン 初心者向け
#1,714 コメント 3 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
68/100
issue の種類
機能追加
明瞭さ
明確に書かれている
活発さ
静か
技術スタック
github-actions
領域
ci-cd, release

調査の方向性

提供されている winget-releaser workflow から始め、リポジトリの release イベントと Windows インストーラー artifact の命名を確認します。CapSoftware.Cap 識別子、インストーラー regex、WINGET_ACC_TOKEN secret を使用して workflow を構成し、release を公開して winget-releaser がパッケージ更新を送信することを確認して検証します。

索引モデルが issue の本文から書いたものです。

説明

PR https://github.com/microsoft/winget-pkgs/pull/355128 I submitted to winget-pkgs got merged so there is now a CapSoftware.Cap package that can then simply installed by your windows userbase via

winget install CapSoftware.Cap

It would be great to setup a github action workflow into this repo so new Cap releases are automatically pushed to winget. Note this usually involves having the installer published as a github release artifact - right now I'm using a custom regex that won't work with this action, windows\-x64\-setup\.exe

The standard way to do it is to use winget-releaser (which uses Komac under the hood). It requires a Classic Github Personal Access Token with public_repo scope is created, following this link, then the Token can be added to the repo as a secret named WINGET_ACC_TOKEN. See below, that user also will have to fork the winget-pkgs repository.

Notes:
You will need to create a classic Personal Access Token (PAT) with public_repo scope. New fine-grained PATs aren't supported by the action.
Fork microsoft/winget-pkgs under the same account/organization as the project's repository. If you are forking winget-pkgs on a different account (e.g. bot/personal account), you can use the fork-user input to specify the username of the account where the fork is present.

Here is the standard action workflow file to do so


name: Publish release to WinGet
on:
  release:
    types: [released]
jobs:
  publish:
    runs-on: windows-latest
    steps:
      - uses: vedantmgoyal9/winget-releaser@latest
        with:
          identifier: CapSoftware.Cap
          installers-regex: 'windows\-x64\-setup\.exe'
          token: ${{ secrets.WINGET_ACC_TOKEN }}

Describe alternatives you've considered
Let the community maintain the package, risk being outdated recordly package on winget repo

主要言語
Rust
スター
22.5k
フォーク
1.9k
平均マージ
7時間 43分
マージ済み PR(30日)
80

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

CapSoftware/Cap のほかの issue

CapSoftware/Cap の issue をすべて見る

似ている issue

Rust の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。