-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
78 lines (72 loc) · 1.74 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
69
70
71
72
73
74
75
76
77
78
# http://goreleaser.com
project_name: rubbi-sh
before:
hooks:
- go mod download
# So far, we better do this manually
# - ./tools/bump-version.sh
# - ./tools/tag-version.sh
builds:
- goarch:
- amd64
archives:
- id: default
files:
- CHANGELOG.md
- LICENSE
- README.md
- install.sh
- dotfiles/*
replacements:
amd64: x86_64
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ .FullCommit }}-{{ .Tag }}-snapshot"
changelog:
sort: asc
filters:
exclude:
- '^docs:'
- '^test:'
signs:
- id: deafult
artifacts: all
signature: "${artifact}.sig"
cmd: gpg
args:
- "--batch"
- "--local-user"
- "{{ .Env.GPG_FINGERPRINT }}"
- "--output"
- "${signature}"
- "--detach-sign"
- "${artifact}"
# Homebrew formula
brews:
- name: rubbi-sh
homepage: https://github.com/jotadrilo/rubbi-sh
description: Go and Shell helpers to provide a sandbox directory for rubbish.
url_template: "https://github.com/jotadrilo/rubbi-sh/releases/download/{{ .Tag }}/{{ .ArtifactName }}"
tap:
owner: jotadrilo
name: homebrew-tap
folder: formula
commit_author:
name: jotadrilo
email: [email protected]
skip_upload: auto
ids:
- default
install: |
bin.install "rubbi-sh"
(share/"alias").install "dotfiles/.rubbi.sh"
(share/"alias").install "dotfiles/.rubbi.minimal.sh"
caveats: |
Please import the .rubbi.sh file in your profile configuration or add its content directly
. #{(share/"alias")}/.rubbi.sh
or the .rubbi.minimal.sh for a minimal setup (rbsh shell function only)
. #{(share/"alias")}/.rubbi.minimal.sh
This tool is based on some alias and shell functions that are core to work.
test: |
system bin/"rubbi-sh", "-version"