From 110dfa617af4a21980038d8906b8d16669badb4e Mon Sep 17 00:00:00 2001 From: Richard Weston <22933083+riweston@users.noreply.github.com> Date: Wed, 20 Mar 2024 22:04:53 +0000 Subject: [PATCH] ci: Integrate the winget package manager for Windows (#26) * docs: Made the README a bit more presentable * ci(#patch): Fixed up goreleaser to remove old deprecated syntax and added the winget package manager --- .goreleaser.yml | 63 +++++++++++++++++++++++++------------- README.md | 81 ++++++++++++++++++------------------------------- 2 files changed, 71 insertions(+), 73 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 3808fd1..8a091a3 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -1,33 +1,54 @@ +builds: + - goos: + - darwin + - linux + - windows +archives: + - format: zip brews: - - tap: + - name: aztx + url_template: "https://github.com/riweston/aztx/releases/download/{{ .Tag }}/{{ .ArtifactName }}" + repository: owner: riweston name: homebrew-aztx - # Optionally a token can be provided, if it differs from the token provided to GoReleaser token: "{{ .Env.HOMEBREW }}" - url_template: "https://github.com/riweston/aztx/releases/download/{{ .Tag }}/{{ .ArtifactName }}" commit_author: name: goreleaserbot email: goreleaser@riweston.io homepage: "https://github.com/riweston/aztx" description: "This tool is a helper for azure-cli that leverages fzf for a nice interface to switch between subscription contexts." - license: "Apache" + license: "MIT" dependencies: - name: azure-cli - name: fzf -builds: - - goos: - - darwin - - linux - - windows -scoop: - bucket: - owner: riweston - name: scoop-bucket - token: "{{ .Env.HOMEBREW }}" - url_template: "https://github.com/riweston/aztx/releases/download/{{ .Tag }}/{{ .ArtifactName }}" - commit_author: - name: goreleaserbot - email: goreleaser@riweston.io - homepage: "https://github.com/riweston/aztx" - description: "This tool is a helper for azure-cli that leverages fzf for a nice interface to switch between subscription contexts." - license: "Apache" +scoops: + - name: aztx + url_template: "https://github.com/riweston/aztx/releases/download/{{ .Tag }}/{{ .ArtifactName }}" + repository: + owner: riweston + name: scoop-bucket + token: "{{ .Env.HOMEBREW }}" + commit_author: + name: goreleaserbot + email: goreleaser@riweston.io + homepage: "https://github.com/riweston/aztx" + description: "This tool is a helper for azure-cli that leverages fzf for a nice interface to switch between subscription contexts." + license: "MIT" + depends: + - azure-cli + - fzf +winget: + - name: aztx + url_template: "https://github.com/riweston/aztx/releases/download/{{ .Tag }}/{{ .ArtifactName }}" + package_identifier: "riweston.aztx" + repository: + owner: riweston + name: winget-aztx + token: "{{ .Env.HOMEBREW }}" + commit_author: + name: goreleaserbot + email: goreleaser@riweston.io + homepage: "https://github.com/riweston/aztx" + short_description: "This tool is a helper for azure-cli that leverages fzf for a nice interface to switch between subscription contexts." + license: "MIT" + publisher: "Richard Weston" diff --git a/README.md b/README.md index 7e1f24a..2365a73 100644 --- a/README.md +++ b/README.md @@ -1,86 +1,63 @@ -