mirror of
https://github.com/kovetskiy/mark.git
synced 2025-06-15 20:22:40 +08:00
brew: Install completions
This commit is contained in:
parent
7536e288b4
commit
8c061c49d4
@ -1,9 +1,6 @@
|
|||||||
# This is an example goreleaser.yaml file with some sane defaults.
|
|
||||||
# Make sure to check the documentation at http://goreleaser.com
|
|
||||||
version: 2
|
version: 2
|
||||||
before:
|
before:
|
||||||
hooks:
|
hooks:
|
||||||
# You may remove this if you don't use go modules.
|
|
||||||
- go mod download
|
- go mod download
|
||||||
builds:
|
builds:
|
||||||
- env:
|
- env:
|
||||||
@ -28,7 +25,7 @@ archives:
|
|||||||
checksum:
|
checksum:
|
||||||
name_template: 'checksums.txt'
|
name_template: 'checksums.txt'
|
||||||
snapshot:
|
snapshot:
|
||||||
name_template: "{{ .Tag }}-next"
|
version_template: "{{ .Tag }}-next"
|
||||||
changelog:
|
changelog:
|
||||||
sort: asc
|
sort: asc
|
||||||
filters:
|
filters:
|
||||||
@ -38,24 +35,27 @@ changelog:
|
|||||||
|
|
||||||
# Publish on Homebrew Tap
|
# Publish on Homebrew Tap
|
||||||
brews:
|
brews:
|
||||||
-
|
- name: mark
|
||||||
name: mark
|
repository:
|
||||||
repository:
|
owner: kovetskiy
|
||||||
owner: kovetskiy
|
name: homebrew-mark
|
||||||
name: homebrew-mark
|
branch: master
|
||||||
branch: master
|
|
||||||
|
|
||||||
commit_author:
|
commit_author:
|
||||||
name: Egor Kovetskiy
|
name: Egor Kovetskiy
|
||||||
email: e.kovetskiy@gmail.com
|
email: e.kovetskiy@gmail.com
|
||||||
|
|
||||||
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
|
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
|
||||||
|
|
||||||
directory: Formula
|
directory: Formula
|
||||||
|
|
||||||
homepage: "https://github.com/kovetskiy/mark"
|
homepage: "https://github.com/kovetskiy/mark"
|
||||||
description: "Sync your markdown files with Confluence pages."
|
description: "Sync your markdown files with Confluence pages."
|
||||||
license: "Apache 2.0"
|
license: "Apache 2.0"
|
||||||
|
|
||||||
test: |
|
install: |
|
||||||
system "#{bin}/program", "version"
|
bin.install "mark"
|
||||||
|
generate_completions_from_executable("mark", "completion")
|
||||||
|
|
||||||
|
test: |
|
||||||
|
system "#{bin}/mark", "version"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user