-
Notifications
You must be signed in to change notification settings - Fork 0
/
.goreleaser.yml
94 lines (84 loc) · 2.24 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
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
version: 2
project_name: gitdeps
builds:
- id: linux
goos: [linux]
goarch: ['386', arm, amd64, arm64]
env: [CGO_ENABLED=0]
main: ./gitdeps.go
ldflags:
- -s -w -X main.Version={{.Version}}
- id: darwin
goos: [darwin]
goarch: [amd64, arm64]
env: [CGO_ENABLED=0]
main: ./gitdeps.go
ldflags:
- -s -w -X main.Version={{.Version}}
- id: windows
goos: [windows]
goarch: ['386', amd64, arm64]
env: [CGO_ENABLED=0]
main: ./gitdeps.go
ldflags:
- -s -w -X main.Version={{.Version}}
archives:
- id: linux-archive
builds: [linux]
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
wrap_in_directory: true
format: tar.gz
files:
- LICENSE
- id: darwin-archive
builds: [darwin]
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
wrap_in_directory: true
format: zip
files:
- LICENSE
- id: windows-archive
builds: [windows]
name_template: '{{ .ProjectName }}_{{ .Version }}_{{ .Os }}_{{ .Arch }}{{ if .Arm }}v{{ .Arm }}{{ end }}'
wrap_in_directory: false
format: zip
files:
- LICENSE
brews:
- description: "Git dependencies manager. Simplified version of git submodules."
homepage: "https://github.com/Nelonn/gitdeps"
license: "MIT"
dependencies:
- git
repository:
owner: Nelonn
name: homebrew-tap
branch: main
token: "{{ .Env.REPO_HOMEBREW_TAP_WRITE }}"
nfpms:
- description: "Git dependencies manager. Simplified version of git submodules."
homepage: "https://github.com/Nelonn/gitdeps"
license: "MIT"
maintainer: "Michael Neonov <two.nelonn at gmail.com>"
bindir: /usr/bin
dependencies:
- git
formats:
- apk
- deb
- rpm
- termux.deb
- archlinux
#nix:
# - description: "Git dependencies manager. Simplified version of git submodules."
# homepage: "https://github.com/Nelonn/gitdeps"
# license: mit
#
# dependencies:
# - git
# repository:
# owner: Nelonn
# name: nur-packages
# branch: master
# token: "{{ .Env.REPO_NUR_PACKAGES_WRITE }}"
# path: pkgs/gitdeps/default.nix