forked from gabrie30/ghorg
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
68 lines (60 loc) · 1.9 KB
/
.goreleaser.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
# This is an example .goreleaser.yml file with some sensible defaults.
# Make sure to check the documentation at https://goreleaser.com
project_name: ghorg
before:
hooks:
# You may remove this if you don't use go modules.
- go mod tidy
- go mod vendor
builds:
- env:
- CGO_ENABLED=0
goos:
- linux
- windows
- darwin
archives:
- id: ghorg
name_template: >-
{{- .ProjectName }}_
{{- .Version }}_
{{- title .Os }}_
{{- if eq .Arch "amd64" }}x86_64
{{- else if eq .Arch "386" }}i386
{{- else }}{{ .Arch }}{{ end }}
{{- if .Arm }}v{{ .Arm }}{{ end -}}
checksum:
name_template: "checksums.txt"
snapshot:
name_template: "{{ incpatch .Version }}-next"
changelog:
skip: true
brews:
- tap:
owner: gabrie30
name: homebrew-utils
# Optionally a branch can be provided.
# Defaults to the default repository branch.
branch: master
# The project name and current git tag are used in the format string.
commit_msg_template: "Brew formula update for {{ .ProjectName }} version {{ .Tag }}"
homepage: "https://github.com/gabrie30/ghorg"
description: "Quickly clone an entire org/users repositories into one directory"
license: "Apache-2.0"
# Packages your package depends on.
# dependencies:
# - name: git
test: |
system "#{bin}/ghorg version"
post_install: |
ohai ""
ohai "***************************"
ohai "For examples on how to use ghorg see: https://github.com/gabrie30/ghorg/tree/master/examples"
ohai ""
ohai "Remember to set your $HOME/.config/ghorg/conf.yaml"
ohai ""
ohai "Here's all you need to do..."
ohai "1) mkdir -p $HOME/.config/ghorg"
ohai "2) curl https://raw.githubusercontent.com/gabrie30/ghorg/master/sample-conf.yaml > $HOME/.config/ghorg/conf.yaml"
ohai "***************************"
ohai ""