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

feat: Add winget manifest and release workflow #129

Closed
wants to merge 1 commit into from
Closed
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
9 changes: 9 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -53,3 +53,12 @@ jobs:
env:
DOCKER_CLI_EXPERIMENTAL: enabled
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

winget-releaser:
runs-on: windows-latest
steps:
- uses: vedantmgoyal9/winget-releaser@main
with:
identifier: mrkaran.doggo
max-versions-to-keep: 5 # keep only latest 5 versions
token: ${{ secrets.WINGET_TOKEN }}
16 changes: 16 additions & 0 deletions manifests/m/mrkaran/doggo/1.0.2/mrkaran.doggo.installer.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# Created using wingetcreate 1.6.1.0
# yaml-language-server: $schema=https://aka.ms/winget-manifest.installer.1.6.0.schema.json

PackageIdentifier: mrkaran.doggo
PackageVersion: 1.0.2
InstallerType: zip
NestedInstallerType: portable
NestedInstallerFiles:
- RelativeFilePath: doggo_1.0.2_Windows_x86_64\doggo.exe
PortableCommandAlias: doggo
Installers:
- InstallerUrl: https://github.com/mr-karan/doggo/releases/download/v1.0.2/doggo_1.0.2_Windows_x86_64.zip
Architecture: x64
InstallerSha256: 47B81CF60D2D1060808ACD30C4AE9BCFA125324441B5FF606343DC5F25B8CE41
ManifestType: installer
ManifestVersion: 1.6.0
12 changes: 12 additions & 0 deletions manifests/m/mrkaran/doggo/1.0.2/mrkaran.doggo.locale.en-US.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
# Created using wingetcreate 1.6.1.0
# yaml-language-server: $schema=https://aka.ms/winget-manifest.defaultLocale.1.6.0.schema.json

PackageIdentifier: mrkaran.doggo
PackageVersion: 1.0.2
PackageLocale: en-US
Publisher: mrkaran
PackageName: Doggo
License: MIT License
ShortDescription: doggo is a modern command-line DNS client (like dig) written in Golang. It outputs information in a neat concise manner and supports protocols like DoH, DoT, DoQ, and DNSCrypt as well.
ManifestType: defaultLocale
ManifestVersion: 1.6.0
8 changes: 8 additions & 0 deletions manifests/m/mrkaran/doggo/1.0.2/mrkaran.doggo.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
# Created using wingetcreate 1.6.1.0
# yaml-language-server: $schema=https://aka.ms/winget-manifest.version.1.6.0.schema.json

PackageIdentifier: mrkaran.doggo
PackageVersion: 1.0.2
DefaultLocale: en-US
ManifestType: version
ManifestVersion: 1.6.0