forked from replit/upm
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy path.goreleaser.yml
96 lines (96 loc) · 2.48 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
95
96
archives:
# https://github.com/goreleaser/goreleaser/issues/602
- files:
- none*
before:
hooks:
- go mod download
brews:
- commit_author:
email: [email protected]
name: replbot
description: "Universal package manager: Python, Node.js, Ruby, Emacs Lisp."
folder: Formula
github:
owner: replit
name: homebrew-tap
homepage: https://github.com/replit/upm
install: bin.install "upm"
test: |
assert_match "upm #{version.to_s}", shell_output("#{bin}/upm --version")
builds:
- goos:
- darwin
- freebsd
- linux
- windows
ldflags:
- -s -w -X github.com/replit/upm/internal/cli.version={{.Version}}
main: ./cmd/upm/main.go
checksum:
name_template: "checksums.txt"
dockers:
- binaries: []
build_flag_templates:
- "--build-arg"
- "VERSION={{.Version}}"
dockerfile: Dockerfile.full
extra_files:
- Makefile
- cmd
- go.mod
- go.sum
- internal
- resources
- scripts
image_templates:
- replco/upm:{{.Version}}-full
- replco/upm:{{.Version}}
- binaries: []
build_flag_templates:
- "--build-arg"
- "VERSION={{.Version}}"
dockerfile: Dockerfile.light
extra_files:
- Makefile
- cmd
- go.mod
- go.sum
- internal
- resources
- scripts
image_templates:
- replco/upm:{{.Version}}-light
nfpms:
- bindir: /usr/bin
description: "Universal package manager: Python, Node.js, Ruby, Emacs Lisp."
formats:
- deb
- rpm
homepage: https://github.com/replit/upm
license: MIT
maintainer: Repl.it <[email protected]>
vendor: Repl.it
release:
name_template: "UPM {{.Version}}"
scoop:
bucket:
name: scoop-bucket
owner: replit
commit_author:
email: [email protected]
name: replbot
description: "Universal package manager: Python, Node.js, Ruby, Emacs Lisp."
homepage: https://github.com/replit/upm
license: MIT
snapcrafts:
- confinement: classic
description: |
UPM is the Universal Package Manager. It allows you to manage
packages for any (supported) programming language through the
same interface following the principle of least astonishment. At
Repl.it, we use UPM to provide deep package manager integration
for many different programming languages using the same
infrastructure.
license: MIT
summary: "Universal package manager: Python, Node.js, Ruby, Emacs Lisp."