From 50f78ee6a1e9a6640e7ed0a1a71ad041c7a294f4 Mon Sep 17 00:00:00 2001 From: Mateus Miranda Date: Tue, 30 Nov 2021 10:18:57 +0100 Subject: [PATCH] Homebrew tap (#137) * Add brew step on goreleaser * Add brew install doc * fix typo --- .goreleaser.yml | 24 ++++++++++++++++++++++++ README.md | 11 +++++++++-- 2 files changed, 33 insertions(+), 2 deletions(-) diff --git a/.goreleaser.yml b/.goreleaser.yml index 1f75b101..020427e1 100644 --- a/.goreleaser.yml +++ b/.goreleaser.yml @@ -30,3 +30,27 @@ changelog: exclude: - '^docs:' - '^test:' + +# Publish on Homebrew Tap +brews: + - + name: mark + tap: + owner: kovetskiy + name: homebrew-mark + branch: master + + commit_author: + name: Egor Kovetskiy + email: e.kovetskiy@gmail.com + + commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}" + + folder: Formula + + homepage: "https://github.com/kovetskiy/mark" + description: "Sync your markdown files with Confluence pages." + license: "Apache 2.0" + + test: | + system "#{bin}/program", "version" diff --git a/README.md b/README.md index 8ad370c2..653aef2c 100644 --- a/README.md +++ b/README.md @@ -53,7 +53,7 @@ Also, optional following headers are supported: ``` * (default) page: normal Confluence page - defaults to this if omitted -* blogpost: [Blog post](https://confluence.atlassian.com/doc/blog-posts-834222533.html) in `Space`. Cannot have `Parent`(s) +* blogpost: [Blog post](https://confluence.atlassian.com/doc/blog-posts-834222533.html) in `Space`. Cannot have `Parent`(s) ```markdown @@ -377,6 +377,13 @@ See task MYJIRA-123. ## Installation +### Homebrew + +```bash +brew tap kovetskiy/mark +brew install mark +``` + ### Go Get ```bash @@ -549,4 +556,4 @@ Thanks goes to these wonderful people ([emoji key](https://allcontributors.org/d -This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome! \ No newline at end of file +This project follows the [all-contributors](https://github.com/all-contributors/all-contributors) specification. Contributions of any kind welcome!