scoop bucket自作 - ぶやかー

scoopのbucketテンプレートをforkする

https://github.com/ScoopInstaller/BucketTemplate

これを自分のリポジトリにforkする。

デフォルトブランチをmainに修正(ブラウザ)

githubでforkしたリポジトリを開いてSettings > General > Default branchを「master」から「main」に変更

Github Actionsの設定確認

ドキュメント通りに設定

  • Allow all GitHub Actions:
    • Navigate to Settings – Actions – General – Actions permissions.
    • Select Allow all actions and reusable workflows.
    • Then Save.
  • Allow writing to the repository from within GitHub Actions:
    • Navigate to Settings – Actions – General – Workflow permissions.
    • Select Read and write permissions.
    • Then Save.

ロカールにclone

git clone https://github.com/hanabi-bro/bucket4booya.git

README、LICENSEの編集

必要に応じて変更

スクリプトの修正

bin/auto-pr.ps1のリポジトリ名を自分のものに編集

param(
    # overwrite upstream param
    [String]$upstream = "hanabi-bro/bucket4booya:main"
)

マニュフェストを追加

自作のマニュフェストを’bucket’はいかに追加

コミット・プッシュ

git add .
git commit -m '追加'
git push

この記事を書いた人 Wrote this article

kmatsunuma

TOP