-
Notifications
You must be signed in to change notification settings - Fork 1
/
.goreleaser.yml
61 lines (55 loc) · 1.78 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
version: 2
project_name: stitchmd
builds:
- env:
- CGO_ENABLED=0
goos: [darwin, linux, windows]
goarch: ["386", amd64, arm, arm64]
goarm: [5, 6, 7]
ignore:
- goos: windows
goarch: arm
- goos: darwin
goarch: arm
ldflags: '-s -w -X main._version={{.Version}}'
flags:
- -trimpath
archives:
- name_template: "{{ .ProjectName }}-{{ .Os }}-{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}"
aurs:
- name: stitchmd-bin
homepage: https://github.com/abhinav/stitchmd
description: "Stitch multiple Markdown files together into a single document."
maintainers:
- 'Abhinav Gupta <[email protected]>'
license: "GPL-2.0"
git_url: "ssh://[email protected]/stitchmd-bin.git"
skip_upload: auto
private_key: '{{ .Env.AUR_KEY }}'
package: |-
install -Dm755 "./stitchmd" "${pkgdir}/usr/bin/stitchmd"
install -Dm644 "./LICENSE" "${pkgdir}/usr/share/licenses/stitchmd/LICENSE"
install -Dm644 "./README.md" "${pkgdir}/usr/share/doc/stitchmd/README.md"
install -Dm644 "./CHANGELOG.md" "${pkgdir}/usr/share/doc/stitchmd/CHANGELOG.md"
commit_author:
name: Abhinav Gupta
email: [email protected]
brews:
- repository:
owner: abhinav
name: homebrew-tap
token: "{{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
commit_msg_template: "{{ .ProjectName }}: Update formula to {{ .Tag }}"
commit_author:
name: Abhinav Gupta
email: [email protected]
homepage: https://github.com/abhinav/stitchmd
description: "Stitch multiple Markdown files together into a single document."
license: "GPL-2.0"
skip_upload: auto
test: |
system "#{bin}/stitchmd -version"
checksum:
name_template: 'checksums.txt'
snapshot:
name_template: "{{ incminor .Tag }}-dev"