From 62d8d49b89bb97676ccdaf31678addd57102f12c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20Gibaud?= Date: Mon, 12 Oct 2020 11:07:52 +0200 Subject: [PATCH] Add glow to distributions --- README.md | 1 + distributions/distributions.yaml | 14 ++++++++++++++ 2 files changed, 15 insertions(+) diff --git a/README.md b/README.md index d5b458e..7a175bd 100644 --- a/README.md +++ b/README.md @@ -163,6 +163,7 @@ Currently supported distributions are: - [duf](https://github.com/muesli/duf) - [dw-query-digest](https://github.com/devops-works/dw-query-digest) - [gitjacker](https://github.com/liamg/gitjacker) +- [glow](https://github.com/charmbracelet/glow) - [goreleaser](https://github.com/goreleaser/goreleaser) - [grizzly](https://github.com/grafana/grizzly) - [gws](https://github.com/StreakyCobra/gws) diff --git a/distributions/distributions.yaml b/distributions/distributions.yaml index c99837c..75beaaf 100644 --- a/distributions/distributions.yaml +++ b/distributions/distributions.yaml @@ -137,6 +137,20 @@ sources: install: type: direct + glow: + map: + amd64: x86_64 + darwin: Darwin + list: + type: github-releases + url: https://api.github.com/repos/charmbracelet/glow/releases + fetch: + url: https://github.com/charmbracelet/glow/releases/download/v{{ .Version }}/glow_{{ .Version }}_{{ .OS }}_{{ .Arch }}.tar.gz + install: + type: tgz + binaries: + - glow + goreleaser: map: amd64: x86_64