Skip to content

Commit

Permalink
Merge pull request #2519 from sitiom/winget-releaser
Browse files Browse the repository at this point in the history
Add Winget Releaser workflow
  • Loading branch information
sharkdp committed Sep 1, 2023
2 parents bb17f74 + 77069b3 commit 81a217b
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/CICD.yml
Original file line number Diff line number Diff line change
Expand Up @@ -455,3 +455,15 @@ jobs:
${{ steps.debian-package.outputs.DPKG_PATH }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

winget:
name: Publish to Winget
runs-on: ubuntu-latest
needs: build
if: startsWith(github.ref, 'refs/tags/v')
steps:
- uses: vedantmgoyal2009/winget-releaser@v2
with:
identifier: sharkdp.bat
installers-regex: '-pc-windows-msvc\.zip$'
token: ${{ secrets.WINGET_TOKEN }}
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -412,6 +412,13 @@ You can install `bat` via [scoop](https://scoop.sh/):
scoop install bat
```

#### With Winget

You can install `bat` via [Winget](https://learn.microsoft.com/en-us/windows/package-manager/):
```bash
winget install sharkdp.bat
```

#### From prebuilt binaries:

You can download prebuilt binaries from the [Release page](https://github.com/sharkdp/bat/releases),
Expand Down

0 comments on commit 81a217b

Please sign in to comment.