From 7c86e3ba7a8d08654e7b08132c8855fd4034cbe0 Mon Sep 17 00:00:00 2001 From: Milan Jansen Date: Tue, 2 Jul 2024 11:49:08 +0200 Subject: [PATCH] feat: Add winget manifest and release workflow --- .github/workflows/release.yml | 9 +++++++++ .../doggo/1.0.2/mrkaran.doggo.installer.yaml | 16 ++++++++++++++++ .../doggo/1.0.2/mrkaran.doggo.locale.en-US.yaml | 12 ++++++++++++ .../m/mrkaran/doggo/1.0.2/mrkaran.doggo.yaml | 8 ++++++++ 4 files changed, 45 insertions(+) create mode 100644 manifests/m/mrkaran/doggo/1.0.2/mrkaran.doggo.installer.yaml create mode 100644 manifests/m/mrkaran/doggo/1.0.2/mrkaran.doggo.locale.en-US.yaml create mode 100644 manifests/m/mrkaran/doggo/1.0.2/mrkaran.doggo.yaml diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index b6f232c..a0418cb 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 }} diff --git a/manifests/m/mrkaran/doggo/1.0.2/mrkaran.doggo.installer.yaml b/manifests/m/mrkaran/doggo/1.0.2/mrkaran.doggo.installer.yaml new file mode 100644 index 0000000..c23f423 --- /dev/null +++ b/manifests/m/mrkaran/doggo/1.0.2/mrkaran.doggo.installer.yaml @@ -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 diff --git a/manifests/m/mrkaran/doggo/1.0.2/mrkaran.doggo.locale.en-US.yaml b/manifests/m/mrkaran/doggo/1.0.2/mrkaran.doggo.locale.en-US.yaml new file mode 100644 index 0000000..8399d34 --- /dev/null +++ b/manifests/m/mrkaran/doggo/1.0.2/mrkaran.doggo.locale.en-US.yaml @@ -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 diff --git a/manifests/m/mrkaran/doggo/1.0.2/mrkaran.doggo.yaml b/manifests/m/mrkaran/doggo/1.0.2/mrkaran.doggo.yaml new file mode 100644 index 0000000..8f0241f --- /dev/null +++ b/manifests/m/mrkaran/doggo/1.0.2/mrkaran.doggo.yaml @@ -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