From b3db9d88c1b37828f97a6aaa58ce9ac9472487d8 Mon Sep 17 00:00:00 2001 From: Ryan Caezar Itang Date: Sun, 12 Feb 2023 23:44:34 +0800 Subject: [PATCH 1/3] add winget releaser workflow --- .github/workflows/winget.yml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .github/workflows/winget.yml diff --git a/.github/workflows/winget.yml b/.github/workflows/winget.yml new file mode 100644 index 0000000..3eb3da3 --- /dev/null +++ b/.github/workflows/winget.yml @@ -0,0 +1,14 @@ +name: Publish to Winget +on: + release: + types: [released] + +jobs: + publish: + runs-on: windows-latest # Action can only run on Windows + steps: + - uses: vedantmgoyal2009/winget-releaser@v2 + with: + identifier: schollz.croc + installers-regex: '_Windows-\w+\.zip$' + token: ${{ secrets.WINGET_TOKEN }} \ No newline at end of file From 9eaba7be7ca714577b030fba65ec88584ff519ea Mon Sep 17 00:00:00 2001 From: sitiom Date: Tue, 7 Feb 2023 08:14:03 +0800 Subject: [PATCH 2/3] add Winget installation instructions --- README.md | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 4171e2a..eee1e56 100644 --- a/README.md +++ b/README.md @@ -48,7 +48,7 @@ sudo port selfupdate sudo port install croc ``` -On Windows you can install the latest release with [Scoop](https://scoop.sh/) or [Chocolatey](https://chocolatey.org): +On Windows you can install the latest release with [Scoop](https://scoop.sh/), [Chocolatey](https://chocolatey.org), or [Winget](https://learn.microsoft.com/en-us/windows/package-manager/): ``` scoop install croc @@ -58,6 +58,10 @@ scoop install croc choco install croc ``` +``` +winget install schollz.croc +``` + On Unix you can install the latest release with [Nix](https://nixos.org/nix): ``` From 908f33cd614e4d29f68116077830fbc39c7e7038 Mon Sep 17 00:00:00 2001 From: sitiom Date: Mon, 13 Feb 2023 11:52:34 +0800 Subject: [PATCH 3/3] add dependabot --- .github/dependabot.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 .github/dependabot.yml diff --git a/.github/dependabot.yml b/.github/dependabot.yml new file mode 100644 index 0000000..615dfde --- /dev/null +++ b/.github/dependabot.yml @@ -0,0 +1,10 @@ +version: 2 +updates: + - package-ecosystem: "github-actions" + directory: "/" + schedule: + interval: "daily" + - package-ecosystem: "gomod" + directory: "/" + schedule: + interval: "daily"