Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Winget Releaser workflow #1714

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
version: 2
updates:
- package-ecosystem: "github-actions"
directory: "/"
schedule:
interval: "daily"
- package-ecosystem: "gomod"
directory: "/"
schedule:
interval: "daily"
11 changes: 11 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -234,3 +234,14 @@ jobs:
ssh_private_key: ${{ secrets.AUR_SSH_PRIVATE_KEY }}
commit_message: ${{ github.event.ref }}
force_push: "true"
winget-publish:
name: Publish to Winget
needs: release
if: ${{ !contains(github.ref, 'pre') }}
runs-on: ubuntu-latest
steps:
- uses: vedantmgoyal9/winget-releaser@main
with:
identifier: Fly-io.flyctl
installers-regex: '_Windows_\w+\.zip$'
token: ${{ secrets.GORELEASER_GITHUB_TOKEN }}
11 changes: 11 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,17 @@ During the transition, note that where you see `flyctl` as a command it can be r

## Using a Package Manager

#### [Winget](https://learn.microsoft.com/en-us/windows/package-manager/) (Windows)

```powershell
winget install flyctl
```
To upgrade to the latest version:

```powershell
winget upgrade flyctl
```

#### [Homebrew](https://brew.sh) (macOS, Linux, WSL)

```bash
Expand Down