Skip to content

Commit afafe8c

Browse files
author
Vic Shóstak
authored
Merge pull request #59 from create-go-app/dev
Add Homebrew formula
2 parents 0bd48ce + 54b2020 commit afafe8c

File tree

1 file changed

+42
-0
lines changed

1 file changed

+42
-0
lines changed

.goreleaser.yml

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,48 @@ builds:
2525
ldflags:
2626
- -s -w
2727

28+
# .goreleaser.yml
29+
brews:
30+
- # GitHub/GitLab repository to push the formula to
31+
tap:
32+
owner: create-go-app
33+
name: homebrew-cli
34+
35+
# Template for the url which is determined by the given Token (github or gitlab)
36+
# Default for github is "https://github.com/<repo_owner>/<repo_name>/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
37+
url_template: "https://github.com/create-go-app/cli/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
38+
39+
# Git author used to commit to the repository.
40+
# Defaults are shown.
41+
commit_author:
42+
name: create-go-app
43+
44+
45+
# Folder inside the repository to put the formula.
46+
# Default is the root folder.
47+
folder: Formula
48+
49+
# Caveats for the user of your binary.
50+
# Default is empty.
51+
caveats: "Create a new project via interactive console UI into current folder by using `cgapp create` command."
52+
53+
# Your app's homepage.
54+
# Default is empty.
55+
homepage: "https://create-go.app/"
56+
57+
# Your app's description.
58+
# Default is empty.
59+
description: "A powerful CLI for the Create Go App project. Create a new production-ready project with backend, frontend and deploy automation by running one CLI command!"
60+
61+
# SPDX identifier of your app's license.
62+
# Default is empty.
63+
license: "Apache-2.0"
64+
65+
# Packages your package depends on.
66+
dependencies:
67+
- name: git
68+
- name: go
69+
2870
dockers:
2971
- # GOOS of the built binary that should be used.
3072
goos: linux

0 commit comments

Comments
 (0)